netdb.h protection

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

 



Corrects this line in winapi_check:
dlls/kernel/computername.c: #include <netdb.h>: is a conditional
include, but is not protected

Vincent
Index: dlls/kernel/computername.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/computername.c,v
retrieving revision 1.2
diff -u -r1.2 computername.c
--- dlls/kernel/computername.c	15 Nov 2002 04:17:00 -0000	1.2
+++ dlls/kernel/computername.c	18 Nov 2002 03:02:49 -0000
@@ -28,7 +28,9 @@
 #endif
 #include <stdlib.h>
 #include <errno.h>
-#include <netdb.h>
+#ifdef HAVE_NETDB_H
+# include <netdb.h>
+#endif
 
 #include "winbase.h"
 #include "winerror.h"

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

  Powered by Linux