diff options
author | Werner Koch <[email protected]> | 2004-12-02 07:48:09 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2004-12-02 07:48:09 +0000 |
commit | 4a73d94757f61e4aa2d1841535409622c2c473e3 (patch) | |
tree | 3848fcc2f05e79f26e776f6e4dfa133aeff8d04e /jnlib/logging.c | |
parent | 2004-11-30 Timo Schulz <[email protected]> (diff) | |
download | gnupg-4a73d94757f61e4aa2d1841535409622c2c473e3.tar.gz gnupg-4a73d94757f61e4aa2d1841535409622c2c473e3.zip |
First take on a W32 port
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> |