diff options
Diffstat (limited to 'test/scratch.cc')
-rw-r--r-- | test/scratch.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/scratch.cc b/test/scratch.cc index b52608150..d638c7097 100644 --- a/test/scratch.cc +++ b/test/scratch.cc @@ -1,4 +1,3 @@ -#define APT_COMPATIBILITY 1 #include <apt-pkg/dpkgdb.h> #include <apt-pkg/debfile.h> #include <apt-pkg/error.h> @@ -8,9 +7,12 @@ #include <apt-pkg/init.h> #include <apt-pkg/fileutl.h> +using namespace std; + int main(int argc,char *argv[]) { - pkgInitialize(*_config); + pkgInitConfig(*_config); + pkgInitSystem(*_config,_system); // cout << flNoLink(argv[1]) << endl; |