wine/dlls/kernel heap.c

Alexandre Julliard julliard at wine.codeweavers.com
Fri Nov 11 04:53:30 CST 2005


ChangeSet ID:	21220
CVSROOT:	/opt/cvs-commit
Module name:	wine
Changes by:	julliard at winehq.org	2005/11/11 04:53:30

Modified files:
	dlls/kernel    : heap.c 

Log message:
	Vincent Béron <vberon at mecano.gme.usherb.ca>
	Protect sys/stat.h with a conditional.

Patch: http://cvs.winehq.org/patch.py?id=21220

Old revision  New revision  Changes     Path
 1.21          1.22          +3 -1       wine/dlls/kernel/heap.c

Index: wine/dlls/kernel/heap.c
diff -u -p wine/dlls/kernel/heap.c:1.21 wine/dlls/kernel/heap.c:1.22
--- wine/dlls/kernel/heap.c:1.21	11 Nov 2005 10:53:30 -0000
+++ wine/dlls/kernel/heap.c	11 Nov 2005 10:53:30 -0000
@@ -45,7 +45,9 @@
 # undef _FILE_OFFSET_BITS
 # define _FILE_OFFSET_BITS 32
 # include <sys/resource.h>
-# include <sys/stat.h>
+# ifdef HAVE_SYS_STAT_H
+#  include <sys/stat.h>
+# endif
 # include <sys/swap.h>
 #endif
 



More information about the wine-cvs mailing list