summaryrefslogtreecommitdiff
path: root/flexdef.h
diff options
context:
space:
mode:
authorwlestes <wlestes>2008-12-28 15:46:20 +0000
committerwlestes <wlestes>2008-12-28 15:46:20 +0000
commit133dd1bd70d30813d6669a91da88740474dd3ddd (patch)
tree9e568b26e5c2e9f9583faac30ac5097a6744d7f1 /flexdef.h
parent618eccaf6b3dab2ca95bfdc24fdcc6698ef1db27 (diff)
downloadflex-133dd1bd70d30813d6669a91da88740474dd3ddd.tar.gz
check for regex.h; resolves bug #2337486
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 _() */