From: Ramiro Polla Date: Thu, 15 Jul 2010 17:30:00 +0000 (-0300) Subject: Include getopt.h when getopt_long() is provided by the system X-Git-Tag: v3.1~193 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ce58d8ac8be5ee5ef0e270b75a2a3191131de3c5;p=thirdparty%2Fccache.git Include getopt.h when getopt_long() is provided by the system --- diff --git a/ccache.c b/ccache.c index dc21fa1b4..5b8a7460a 100644 --- a/ccache.c +++ b/ccache.c @@ -20,7 +20,11 @@ */ #include "ccache.h" +#ifdef HAVE_GETOPT_LONG +#include +#else #include "getopt_long.h" +#endif #include "hashtable.h" #include "hashtable_itr.h" #include "hashutil.h"