summaryrefslogtreecommitdiff
path: root/src/tools/epona2anope.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/epona2anope.c')
-rw-r--r--src/tools/epona2anope.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tools/epona2anope.c b/src/tools/epona2anope.c
index 56f098368..5ac3cfe8f 100644
--- a/src/tools/epona2anope.c
+++ b/src/tools/epona2anope.c
@@ -25,11 +25,16 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
-#include <unistd.h>
#include <fcntl.h>
#include <ctype.h>
#include <time.h>
+#ifndef _WIN32
+ #include <unistd.h>
+#else
+ #include "sysconf.h"
+#endif
+
/* CONFIGURATION BLOCK */
#define CHAN_DB_EPONA "chan1.db"