diff options
author | Berke Viktor <berkeviktor@aol.com> | 2011-12-11 17:34:02 +0100 |
---|---|---|
committer | Berke Viktor <berkeviktor@aol.com> | 2011-12-11 17:34:02 +0100 |
commit | 132ef6cb50201cb6ab8ab0609a88ccce62aa6a21 (patch) | |
tree | 0d47c10fa3b9789592c6513286d57a0c010b071f /src/common/network.c | |
parent | 2012320d0eed36e0461e44ac9be8cc162c135bf5 (diff) |
initial patches for linux compatibility
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 |