Fix build failure in dlls/ntdll/ntdll_misc.h

Gerald Pfeifer gerald at pfeifer.com
Sat Oct 20 09:56:44 CDT 2007


The following patch to dlls/ntdll/ntdll_misc.h broke all versions of 
FreeBSD I have access to:

  revision 1.105
  date: 2007-10-19 13:37:00 +0000;  author: julliard;  state: Exp;  lines: +9 -0;
   commitid: dR4MKH9Xq2CiMcCs;
  Alexandre Julliard <julliard at winehq.org>
  ntdll: Cache the DOS drives stat info for up to one second.

The patch below fixes this.

Gerald

ChangeLog:
#include <sys/types.h> to get dev_t.

Index: dlls/ntdll/ntdll_misc.h
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/ntdll_misc.h,v
retrieving revision 1.105
diff -u -3 -p -r1.105 ntdll_misc.h
--- dlls/ntdll/ntdll_misc.h	19 Oct 2007 13:37:00 -0000	1.105
+++ dlls/ntdll/ntdll_misc.h	20 Oct 2007 14:20:25 -0000
@@ -21,6 +21,7 @@
 
 #include <stdarg.h>
 #include <signal.h>
+#include <sys/types.h>
 
 #include "windef.h"
 #include "winnt.h"



More information about the wine-patches mailing list