]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Include getopt.h when getopt_long() is provided by the system
authorRamiro Polla <ramiro.polla@gmail.com>
Thu, 15 Jul 2010 17:30:00 +0000 (14:30 -0300)
committerRamiro Polla <ramiro.polla@gmail.com>
Thu, 15 Jul 2010 19:41:38 +0000 (16:41 -0300)
ccache.c

index dc21fa1b442f75af1bb83843ad050093f1c40801..5b8a7460adbbb9bc4266de32a4d0f8e8a39cbaea 100644 (file)
--- a/ccache.c
+++ b/ccache.c
  */
 
 #include "ccache.h"
+#ifdef HAVE_GETOPT_LONG
+#include <getopt.h>
+#else
 #include "getopt_long.h"
+#endif
 #include "hashtable.h"
 #include "hashtable_itr.h"
 #include "hashutil.h"