summaryrefslogtreecommitdiff
path: root/test/libapt/cdromreducesourcelist_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/libapt/cdromreducesourcelist_test.cc')
-rw-r--r--test/libapt/cdromreducesourcelist_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/libapt/cdromreducesourcelist_test.cc b/test/libapt/cdromreducesourcelist_test.cc
index 729da23a6..196d0136e 100644
--- a/test/libapt/cdromreducesourcelist_test.cc
+++ b/test/libapt/cdromreducesourcelist_test.cc
@@ -1,7 +1,7 @@
+#include <config.h>
+
#include <apt-pkg/cdrom.h>
-#include <apt-pkg/error.h>
-#include <algorithm>
#include <string>
#include <vector>
@@ -15,7 +15,7 @@ public:
}
};
-int main(int argc, char const *argv[]) {
+int main() {
Cdrom cd;
std::vector<std::string> List;
std::string CD("/media/cdrom/");