From: Christos Zoulas Date: Wed, 15 Jul 2009 14:08:23 +0000 (+0000) Subject: fix mygetopt.h handling. X-Git-Tag: FILE5_04~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aff666848eaf286235188280280e5ebaaf3610b9;p=file fix mygetopt.h handling. --- diff --git a/src/file.c b/src/file.c index 91a5b416..0f236039 100644 --- a/src/file.c +++ b/src/file.c @@ -32,7 +32,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: file.c,v 1.130 2009/02/03 20:27:51 christos Exp $") +FILE_RCSID("@(#)$File: file.c,v 1.131 2009/02/13 18:48:05 christos Exp $") #endif /* lint */ #include "magic.h" @@ -63,14 +63,12 @@ FILE_RCSID("@(#)$File: file.c,v 1.130 2009/02/03 20:27:51 christos Exp $") #if defined(HAVE_GETOPT_H) && defined(HAVE_STRUCT_OPTION) #include -#else -#include "mygetopt.h" -#endif #ifndef HAVE_GETOPT_LONG int getopt_long(int argc, char * const *argv, const char *optstring, const struct option *longopts, int *longindex); #endif - -#include /* for byte swapping */ +#else +#include "mygetopt.h" +#endif #include "patchlevel.h"