]> granicus.if.org Git - file/commitdiff
don't support getopt_long if we don't have <getopt.h>
authorChristos Zoulas <christos@zoulas.com>
Wed, 3 Mar 2004 17:24:28 +0000 (17:24 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 3 Mar 2004 17:24:28 +0000 (17:24 +0000)
src/file.c

index 007c2b7dcbee6fc81218a707899e3e208d8b94cd..ca259b94ee30e02c304bb8d199fabba619fabb46 100644 (file)
@@ -65,6 +65,8 @@
 
 #ifdef HAVE_GETOPT_H
 #include <getopt.h>    /* for long options (is this portable?)*/
+#else
+#undef HAVE_GETOPT_LONG
 #endif
 
 #include <netinet/in.h>                /* for byte swapping */
@@ -72,7 +74,7 @@
 #include "patchlevel.h"
 
 #ifndef        lint
-FILE_RCSID("@(#)$Id: file.c,v 1.89 2004/03/03 17:21:05 christos Exp $")
+FILE_RCSID("@(#)$Id: file.c,v 1.90 2004/03/03 17:24:28 christos Exp $")
 #endif /* lint */