summaryrefslogtreecommitdiff
path: root/src/core/misc.c
diff options
context:
space:
mode:
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;