summaryrefslogtreecommitdiff
path: root/libiberty/regex.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2004-11-20 03:00:47 +0000
committerDJ Delorie <dj@delorie.com>2004-11-20 03:00:47 +0000
commitab3f5328bdb8f56e4d31aab06969d6ea00d2fb1d (patch)
tree2193379cda0e72818f62ce1158900614561f5d80 /libiberty/regex.c
parentd3ce5f8a76b5859a9313479e5833af29947ae0ad (diff)
downloadgdb-ab3f5328bdb8f56e4d31aab06969d6ea00d2fb1d.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/regex.c')
-rw-r--r--libiberty/regex.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libiberty/regex.c b/libiberty/regex.c
index 522b0eedf44..3babf6cbe34 100644
--- a/libiberty/regex.c
+++ b/libiberty/regex.c
@@ -32,8 +32,10 @@
#undef _GNU_SOURCE
#define _GNU_SOURCE
-#ifdef HAVE_CONFIG_H
-# include <config.h>
+#ifndef INSIDE_RECURSION
+# ifdef HAVE_CONFIG_H
+# include <config.h>
+# endif
#endif
#include <ansidecl.h>