#include <stdlib.h>
#include <unistd.h>
#include <string.h>
+#include <getopt.h>
#include "util.h"
#include "pool.h"
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)