Module: wine Branch: refs/heads/master Commit: f8ed165609df0ed8b358611c148fb0008520aad7 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=f8ed165609df0ed8b358611c... Author: Francois Gouget <fgouget(a)free.fr> Date: Tue Feb 7 21:17:45 2006 +0100 ntdll: Protect sys/stat.h inclusion. --- dlls/ntdll/virtual.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dlls/ntdll/virtual.c b/dlls/ntdll/virtual.c index e74b3e0..c33dce6 100644 --- a/dlls/ntdll/virtual.c +++ b/dlls/ntdll/virtual.c @@ -35,9 +35,11 @@ #include <stdio.h> #include <string.h> #include <sys/types.h> -#include <sys/stat.h> +#ifdef HAVE_SYS_STAT_H +# include <sys/stat.h> +#endif #ifdef HAVE_SYS_MMAN_H -#include <sys/mman.h> +# include <sys/mman.h> #endif #define NONAMELESSUNION