summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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"