PATCH: dlls/ntdll/ntdll_misc.h and struct timeval

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



dlls/ntdll/ntdll_misc.h now uses struct timeval even though that has
not been introduced (at least on FreeBSD):

  In file included from ../../loader/pe_image.c:49:
  ntdll_misc.h:31: warning: `struct timeval' declared inside parameter
                   list
  ntdll_misc.h:31: warning: its scope is only this definition or
                   declaration, which is probably not what you want.

Fixed thusly.

Gerald

ChangeLog:
  #include <unistd.h> for a definition of struct timeval.
Index: ntdll_misc.h
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/ntdll_misc.h,v
retrieving revision 1.12
diff -u -3 -p -r1.12 ntdll_misc.h
--- ntdll_misc.h	31 Mar 2003 01:37:05 -0000	1.12
+++ ntdll_misc.h	2 Apr 2003 08:19:32 -0000
@@ -19,6 +19,7 @@
 #ifndef __WINE_NTDLL_MISC_H
 #define __WINE_NTDLL_MISC_H

+#include <unistd.h>
 #include "winnt.h"
 #include "winternl.h"
 #include "module.h"


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux