summaryrefslogtreecommitdiffstats
path: root/getopt_long.c
diff options
context:
space:
mode:
Diffstat (limited to 'getopt_long.c')
-rw-r--r--getopt_long.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/getopt_long.c b/getopt_long.c
index 2ad5b4d..d357dc3 100644
--- a/getopt_long.c
+++ b/getopt_long.c
@@ -32,7 +32,7 @@
#include "file.h"
#ifndef lint
-FILE_RCSID("@(#)$File: getopt_long.c,v 1.5 2009/02/03 20:27:51 christos Exp $")
+FILE_RCSID("@(#)$File: getopt_long.c,v 1.6 2009/02/13 18:48:05 christos Exp $")
#endif /* lint */
#include <assert.h>
@@ -42,7 +42,7 @@ FILE_RCSID("@(#)$File: getopt_long.c,v 1.5 2009/02/03 20:27:51 christos Exp $")
#define warnx printf
#endif
#include <errno.h>
-#ifdef HAVE_GETOPT_H
+#if defined(HAVE_GETOPT_H) && defined(HAVE_STRUCT_OPTION)
#include <getopt.h>
#else
#include "mygetopt.h"
OpenPOWER on IntegriCloud