aboutsummaryrefslogtreecommitdiff
path: root/lib/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/getopt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/getopt.c b/lib/getopt.c
index f8fc003d..36c28318 100644
--- a/lib/getopt.c
+++ b/lib/getopt.c
@@ -21,7 +21,9 @@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
#ifndef _LIBC
-# include <config.h>
+# ifdef HAVE_CONFIG_H
+# include <config.h>
+# endif
#endif
#include "getopt.h"