]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Use our own getopt_long
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 17 Feb 2010 18:49:54 +0000 (19:49 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 17 Feb 2010 19:10:00 +0000 (20:10 +0100)
Makefile.in
ccache.c

index 6beb73f54e6d6d94ff813811dc214031965f2275..82fdc40905a1d3a2b355db9e51f11dfd47436aca 100644 (file)
@@ -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)
 
index 84f1fb2e5a505d9138cbbb6896b1db761343035c..3cd8123d7f798d743b1b6ebb43735e0d9d1124c5 100644 (file)
--- a/ccache.c
+++ b/ccache.c
 */
 
 #include "ccache.h"
+#include "getopt_long.h"
 #include "hashtable.h"
 #include "hashtable_itr.h"
 #include "hashutil.h"
 #include "manifest.h"
 #include "comments.h"
 
-#include <getopt.h>
-
 /* current working directory taken from $PWD, or getcwd() if $PWD is bad */
 char *current_working_dir;