diff options
Diffstat (limited to 'plugins/xdcc/xdcc.c')
-rw-r--r-- | plugins/xdcc/xdcc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/xdcc/xdcc.c b/plugins/xdcc/xdcc.c index 147a3c33..060dbbe3 100644 --- a/plugins/xdcc/xdcc.c +++ b/plugins/xdcc/xdcc.c @@ -2,11 +2,15 @@ #include <glib.h> #include <string.h> -#include <unistd.h> #include <stdlib.h> #include <stdio.h> +#ifndef WIN32 +#include <unistd.h> +#endif + #include "xchat-plugin.h" +#include "../../src/common/xchat.h" static xchat_plugin *ph; /* plugin handle */ |