summaryrefslogtreecommitdiff
path: root/flexdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'flexdef.h')
-rw-r--r--flexdef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/flexdef.h b/flexdef.h
index d038952..7282711 100644
--- a/flexdef.h
+++ b/flexdef.h
@@ -91,7 +91,9 @@ char *alloca ();
#define true 1
#define false 0
#endif
+#ifdef HAVE_REGEX_H
#include <regex.h>
+#endif
#include "flexint.h"
/* We use gettext. So, when we write strings which should be translated, we mark them with _() */