]> git.saurik.com Git - apt.git/blobdiff - test/interactive-helper/extract-control.cc
allow all dpkg selections to be set via apt-mark and libapt
[apt.git] / test / interactive-helper / extract-control.cc
index 3f7feabcba95b52902236feffd603a8df37b1dfe..852ec4ee98ecdb4acbf25bcac6051b678971ff29 100644 (file)
@@ -1,13 +1,16 @@
+#include <config.h>
+
 #include <apt-pkg/debfile.h>
 #include <apt-pkg/error.h>
 #include <apt-pkg/fileutl.h>
 
+#include <string>
 #include <iostream>
 #include <unistd.h>
 
 using namespace std;
 
-bool ExtractMember(const char *File,const char *Member)
+static bool ExtractMember(const char *File,const char *Member)
 {
    FileFd Fd(File,FileFd::ReadOnly);
    debDebFile Deb(Fd);