aboutsummaryrefslogtreecommitdiff
path: root/libiberty/regex.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2004-11-20 03:00:47 +0000
committerDJ Delorie <dj@redhat.com>2004-11-20 03:00:47 +0000
commit3e0f14040c874aadbf96d1c9c922e3fcb3ab6c4e (patch)
tree89bc065c9804aa0c00ae1ae8f848c03da72fe059 /libiberty/regex.c
parentef81051b92dbd9bb3bda14700c07fc9c5ce35e96 (diff)
downloadgdb-3e0f14040c874aadbf96d1c9c922e3fcb3ab6c4e.zip
gdb-3e0f14040c874aadbf96d1c9c922e3fcb3ab6c4e.tar.gz
gdb-3e0f14040c874aadbf96d1c9c922e3fcb3ab6c4e.tar.bz2
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 522b0ee..3babf6c 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>