include: Don't include stdlib.h in wine/port.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
cf04fe762c
commit
ef9a0f3bc3
|
@ -28,6 +28,7 @@
|
|||
#ifdef HAVE_GNUTLS_CIPHER_INIT
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
#include <gnutls/gnutls.h>
|
||||
#include <gnutls/crypto.h>
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include <errno.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/time.h>
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#endif
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_SYS_STAT_H
|
||||
#include <sys/stat.h>
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#ifdef SONAME_LIBNETAPI
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#ifdef HAVE_SYS_WAIT_H
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#ifdef SONAME_LIBGNUTLS
|
||||
#include <gnutls/gnutls.h>
|
||||
|
|
|
@ -2673,8 +2673,9 @@ class VkGenerator(object):
|
|||
f.write("#pragma makedep unix\n")
|
||||
f.write("#endif\n\n")
|
||||
|
||||
f.write("#include \"config.h\"\n")
|
||||
f.write("#include \"wine/port.h\"\n\n")
|
||||
f.write("#include \"config.h\"\n\n")
|
||||
|
||||
f.write("#include <stdlib.h>\n\n")
|
||||
|
||||
f.write("#include \"vulkan_private.h\"\n\n")
|
||||
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
#endif
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "vulkan_private.h"
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
/****************************************************************
|
||||
|
|
Loading…
Reference in New Issue