diff --git a/dlls/advapi32/crypt.c b/dlls/advapi32/crypt.c index 8c08fca3eed..4fd2f095ae9 100644 --- a/dlls/advapi32/crypt.c +++ b/dlls/advapi32/crypt.c @@ -24,13 +24,19 @@ * - Thread-safing */ +#include "config.h" + #include #include #include #include -#include +#ifdef HAVE_SYS_STAT_H +# include +#endif #include -#include +#ifdef HAVE_UNISTD_H +# include +#endif #include "crypt.h" #include "winnls.h" diff --git a/dlls/shell32/shfldr_unixfs.c b/dlls/shell32/shfldr_unixfs.c index d02a0664aaf..2bde3d9529f 100644 --- a/dlls/shell32/shfldr_unixfs.c +++ b/dlls/shell32/shfldr_unixfs.c @@ -23,7 +23,9 @@ #include #include #include -#include +#ifdef HAVE_UNISTD_H +# include +#endif #ifdef HAVE_SYS_STAT_H # include #endif