]> git.lyx.org Git - features.git/blobdiff - src/support/LRegex.C
added a regex to be used when the system is missing one, use noinst instead of pkglib...
[features.git] / src / support / LRegex.C
index 66225e91d1615f4cd59152e719031d544e97de1a..1babf22127d05f10c34ca5c56d3c190345f04a5d 100644 (file)
@@ -5,7 +5,13 @@
 #include <config.h>
 
 #include <sys/types.h>
+
+#ifdef HAVE_REGEX_H
 #include <regex.h>
+#else
+#include "lyxregex.h"
+#endif
+
 #include "LRegex.h"
 
 using std::make_pair;