aboutsummaryrefslogtreecommitdiff
path: root/lib/getopt1.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/getopt1.c')
-rw-r--r--lib/getopt1.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/getopt1.c b/lib/getopt1.c
index da5d5330..ebc46404 100644
--- a/lib/getopt1.c
+++ b/lib/getopt1.c
@@ -20,7 +20,9 @@
#ifdef _LIBC
# include <getopt.h>
#else
-# include <config.h>
+# ifdef HAVE_CONFIG_H
+# include <config.h>
+# endif
# include "getopt.h"
#endif
#include "getopt_int.h"