From: Joel Rosdahl Date: Wed, 17 Feb 2010 18:49:54 +0000 (+0100) Subject: Use our own getopt_long X-Git-Tag: v3.0pre0~87 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=145462baa98adc8de9792b7b25e8103281bca2c6;p=thirdparty%2Fccache.git Use our own getopt_long --- diff --git a/Makefile.in b/Makefile.in index 6beb73f54..82fdc4090 100644 --- a/Makefile.in +++ b/Makefile.in @@ -19,11 +19,11 @@ libs = @LIBS@ -lm sources = \ ccache.c mdfour.c hash.c execute.c util.c args.c stats.c \ cleanup.c snprintf.c unify.c manifest.c hashtable.c hashtable_itr.c \ - murmurhashneutral2.c hashutil.c comments.c + murmurhashneutral2.c hashutil.c comments.c getopt_long.c headers = \ ccache.h hashtable.h hashtable_itr.h hashtable_private.h hashutil.h \ - manifest.h mdfour.h murmurhashneutral2.h comments.h + manifest.h mdfour.h murmurhashneutral2.h comments.h getopt_long.h objs = $(sources:.c=.o) diff --git a/ccache.c b/ccache.c index 84f1fb2e5..3cd8123d7 100644 --- a/ccache.c +++ b/ccache.c @@ -23,14 +23,13 @@ */ #include "ccache.h" +#include "getopt_long.h" #include "hashtable.h" #include "hashtable_itr.h" #include "hashutil.h" #include "manifest.h" #include "comments.h" -#include - /* current working directory taken from $PWD, or getcwd() if $PWD is bad */ char *current_working_dir;