From c3abd226a71ad7d213cfbe4c241876c8982c538d Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Wed, 15 Jul 2009 14:08:23 +0000 Subject: [PATCH] fix mygetopt.h handling. --- src/file.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/file.c b/src/file.c index 34aa44c8..aff78108 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.131 2009/02/13 18:48:05 christos Exp $") +FILE_RCSID("@(#)$File: file.c,v 1.132 2009/07/15 14:08:23 christos Exp $") #endif /* lint */ #include "magic.h" @@ -63,14 +63,12 @@ FILE_RCSID("@(#)$File: file.c,v 1.131 2009/02/13 18:48:05 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" -- 2.50.0