diff options
Diffstat (limited to 'jnlib/logging.c')
-rw-r--r-- | jnlib/logging.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jnlib/logging.c b/jnlib/logging.c index 5397a1184..960d816eb 100644 --- a/jnlib/logging.c +++ b/jnlib/logging.c @@ -34,9 +34,11 @@ #include <errno.h> #include <time.h> #include <sys/types.h> -#include <sys/socket.h> #include <sys/stat.h> +#ifndef _WIN32 +#include <sys/socket.h> #include <sys/un.h> +#endif #include <unistd.h> #include <fcntl.h> #include <assert.h> |