summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/priv.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/priv.h b/lib/priv.h
index dce25fe..d671fd7 100644
--- a/lib/priv.h
+++ b/lib/priv.h
@@ -20,7 +20,16 @@
#ifndef __PRIV_H__
#define __PRIV_H__
-#include "pcre.h"
+/* Force use of win32 configuration if compiling there */
+#ifdef _WIN32
+#include "../config.win32.h"
+#else
+#ifdef HAVE_CONFIG_H
+#include "../config.h"
+#endif
+#endif
+
+#include PCRE_H
#include "execute.h"
/*