diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-09-19 19:14:19 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-09-19 19:14:19 +0200 |
commit | 472ff00ef2e48383805d281c6364ec27839e3f4d (patch) | |
tree | 6f81e83690167fc78f3bbd3dcf03cf83cdcc60f6 /test | |
parent | 8f3ba4e8708cb72be19dacc2af4f601ee5fea292 (diff) |
use forward declaration in headers if possible instead of includes
Diffstat (limited to 'test')
-rw-r--r-- | test/interactive-helper/extract-control.cc | 1 | ||||
-rw-r--r-- | test/interactive-helper/test_udevcdrom.cc | 1 | ||||
-rw-r--r-- | test/interactive-helper/testextract.cc | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/test/interactive-helper/extract-control.cc b/test/interactive-helper/extract-control.cc index 29dcbf371..a1b3600aa 100644 --- a/test/interactive-helper/extract-control.cc +++ b/test/interactive-helper/extract-control.cc @@ -1,5 +1,6 @@ #include <apt-pkg/debfile.h> #include <apt-pkg/error.h> +#include <apt-pkg/fileutl.h> #include <iostream> #include <unistd.h> diff --git a/test/interactive-helper/test_udevcdrom.cc b/test/interactive-helper/test_udevcdrom.cc index bbedc0ab5..88f5f0153 100644 --- a/test/interactive-helper/test_udevcdrom.cc +++ b/test/interactive-helper/test_udevcdrom.cc @@ -3,6 +3,7 @@ #include <assert.h> #include <vector> +#include <iostream> int main() { diff --git a/test/interactive-helper/testextract.cc b/test/interactive-helper/testextract.cc index b790df618..f7ddb72f0 100644 --- a/test/interactive-helper/testextract.cc +++ b/test/interactive-helper/testextract.cc @@ -6,6 +6,8 @@ #include <apt-pkg/extract.h> #include <apt-pkg/init.h> #include <apt-pkg/strutl.h> +#include <apt-pkg/fileutl.h> +#include <apt-pkg/pkgsystem.h> #include <stdio.h> #include <stdlib.h> |