diff options
Diffstat (limited to 'jnlib/logging.c')
-rw-r--r-- | jnlib/logging.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/jnlib/logging.c b/jnlib/logging.c index 960d816eb..781f03e6d 100644 --- a/jnlib/logging.c +++ b/jnlib/logging.c @@ -35,16 +35,13 @@ #include <time.h> #include <sys/types.h> #include <sys/stat.h> -#ifndef _WIN32 +#ifndef HAVE_W32_SYSTEM #include <sys/socket.h> #include <sys/un.h> -#endif +#endif /*!HAVE_W32_SYSTEM*/ #include <unistd.h> #include <fcntl.h> #include <assert.h> -#ifdef __MINGW32__ -# include <io.h> -#endif #define JNLIB_NEED_LOG_LOGV 1 |