diff --git a/lib/unix_util.h b/lib/unix_util.h index 6a8d3cf3dd..d5f3abb1c8 100644 --- a/lib/unix_util.h +++ b/lib/unix_util.h @@ -20,8 +20,12 @@ #ifndef UNIX_UTIL_H #define UNIX_UTIL_H +// Nothing in this file is needed on WIN32 +#ifndef _WIN32 + #include "config.h" + #ifdef __cplusplus #include #include @@ -48,5 +52,7 @@ int daemon(int nochdir, int noclose); #endif /* HAVE_DAEMON */ +#endif /* _WIN32 */ + #endif /* UNIX_UTIL_H */