diff --git a/libfreerdp-utils/file.c b/libfreerdp-utils/file.c index 350a92a8d..0f242c1f2 100644 --- a/libfreerdp-utils/file.c +++ b/libfreerdp-utils/file.c @@ -22,16 +22,14 @@ #include #include -#ifdef HAVE_UNISTD_H -#include -#endif - #include #include #include #include -#ifdef _WIN32 +#ifndef _WIN32 +#include +#else #include #define getcwd _getcwd #endif