summaryrefslogtreecommitdiff
path: root/src/core/misc.c
diff options
context:
space:
mode:
authorAilin Nemui <ailin@z30a.localdomain>2017-01-03 12:04:56 +0100
committerAilin Nemui <ailin@z30a.localdomain>2017-01-03 12:29:11 +0100
commitf5cbbebc2ee858e8792ab40eea6abc9fd7865a28 (patch)
treedf681ebf49587a386f7048ac994af8b2ebf9d405 /src/core/misc.c
parent5dcf291f2144564363f734dba15760d3a82b61c2 (diff)
downloadirssi-f5cbbebc2ee858e8792ab40eea6abc9fd7865a28.zip
switch for gregex and regex.h
Diffstat (limited to 'src/core/misc.c')
-rw-r--r--src/core/misc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/misc.c b/src/core/misc.c
index c59eb126..1cfa15b6 100644
--- a/src/core/misc.c
+++ b/src/core/misc.c
@@ -22,6 +22,10 @@
#include "misc.h"
#include "commands.h"
+#ifndef USE_GREGEX
+# include <regex.h>
+#endif
+
typedef struct {
int condition;
GInputFunction function;