summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-09-06 14:35:19 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-09-06 14:35:19 +0000
commit54c5c049cbfac53ddff1eb7432fe6e75b4096f47 (patch)
treeb55e3bbf9f8d555ee60691cbca85d397712b5e02 /src/main
parente4787845e1aed1bbb0732bff04bde6b16e09bc52 (diff)
Include system header file regex.h only if HAVE_REGEX_H is defined.
Otherwise take the one from "../gnu/". git-svn-id: http://svn.cactuscode.org/flesh/trunk@2342 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main')
-rw-r--r--src/main/Groups.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/Groups.c b/src/main/Groups.c
index a56c7e07..f284d472 100644
--- a/src/main/Groups.c
+++ b/src/main/Groups.c
@@ -13,7 +13,11 @@
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
+#ifdef HAVE_REGEX_H
#include <regex.h>
+#else
+#include "../gnu/regex.h"
+#endif
#include "cctk_Constants.h"
#include "cctk_WarnLevel.h"