summary refs log tree commit diff stats
path: root/plugins/xdcc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/xdcc')
-rw-r--r--plugins/xdcc/xdcc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/xdcc/xdcc.c b/plugins/xdcc/xdcc.c
index a8fda540..060dbbe3 100644
--- a/plugins/xdcc/xdcc.c
+++ b/plugins/xdcc/xdcc.c
@@ -5,6 +5,10 @@
 #include <stdlib.h>
 #include <stdio.h>
 
+#ifndef WIN32
+#include <unistd.h>
+#endif
+
 #include "xchat-plugin.h"
 #include "../../src/common/xchat.h"