Imported Upstream version 0.7.12
[platform/upstream/libsolv.git] / tools / deb2solv.c
index ad27541..4fac3f0 100644 (file)
@@ -15,6 +15,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
+#include <getopt.h>
 
 #include "util.h"
 #include "pool.h"
@@ -57,7 +58,6 @@ main(int argc, char **argv)
   Repo *repo;
   FILE *fp;
   char buf[4096], *p;
-  const char *basefile = 0;
   int is_repo = 0;
 
   while ((c = getopt(argc, argv, "0:m:r")) >= 0)