diff options
Diffstat (limited to 'src/common/network.c')
-rw-r--r-- | src/common/network.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/network.c b/src/common/network.c index b7d9aa1f..eba24b05 100644 --- a/src/common/network.c +++ b/src/common/network.c @@ -23,6 +23,10 @@ #include <stdio.h> #include <glib.h> +#ifndef WIN32 +#include <unistd.h> +#endif + #include "../../config.h" /* grab USE_IPV6 and LOOKUPD defines */ #define WANTSOCKET |