diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regex.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/regex.c b/src/regex.c index 15ca91bc54a..8b7aecf0d80 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -26,6 +26,17 @@ | |||
| 26 | 26 | ||
| 27 | #define _GNU_SOURCE | 27 | #define _GNU_SOURCE |
| 28 | 28 | ||
| 29 | #ifdef HAVE_CONFIG_H | ||
| 30 | #if defined (CONFIG_BROKETS) | ||
| 31 | /* We use <config.h> instead of "config.h" so that a compilation | ||
| 32 | using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h | ||
| 33 | (which it would do because it found this file in $srcdir). */ | ||
| 34 | #include <config.h> | ||
| 35 | #else | ||
| 36 | #include "config.h" | ||
| 37 | #endif | ||
| 38 | #endif | ||
| 39 | |||
| 29 | /* We need this for `regex.h', and perhaps for the Emacs include files. */ | 40 | /* We need this for `regex.h', and perhaps for the Emacs include files. */ |
| 30 | #include <sys/types.h> | 41 | #include <sys/types.h> |
| 31 | 42 | ||