aboutsummaryrefslogtreecommitdiff
path: root/src/configparser.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-04-30 17:43:47 +0100
committerGravatar Sadie Powell2022-04-30 17:48:12 +0100
commitaf1d0f6a4b003d30960dfb55d6bdb7dd6c61f97e (patch)
treeaf66e2ac293a71f94ede92b81d498bf145810a78 /src/configparser.cpp
parentEnable writing a pid file on Windows. (diff)
Slim down the globally included files.
Diffstat (limited to 'src/configparser.cpp')
-rw-r--r--src/configparser.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/configparser.cpp b/src/configparser.cpp
index 3354be37c..d7c0f54ca 100644
--- a/src/configparser.cpp
+++ b/src/configparser.cpp
@@ -29,6 +29,11 @@
#include "inspircd.h"
#include "configparser.h"
+#ifdef _WIN32
+# define pclose _pclose
+# define popen _popen
+#endif
+
enum ParseFlags
{
// Executable includes are disabled.