include: Don't include stdlib.h in wine/port.h.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-11-03 10:43:13 +01:00
parent cf04fe762c
commit ef9a0f3bc3
8 changed files with 10 additions and 4 deletions

View file

@ -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>

View file

@ -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>

View file

@ -31,6 +31,7 @@
#endif
#include <stdarg.h>
#include <stdlib.h>
#include <unistd.h>
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>

View file

@ -29,6 +29,7 @@
#ifdef SONAME_LIBNETAPI
#include <stdarg.h>
#include <stdlib.h>
#include <fcntl.h>
#include <errno.h>
#ifdef HAVE_SYS_WAIT_H

View file

@ -28,6 +28,7 @@
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#ifdef SONAME_LIBGNUTLS
#include <gnutls/gnutls.h>

View file

@ -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")

View file

@ -14,7 +14,8 @@
#endif
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include "vulkan_private.h"

View file

@ -30,7 +30,6 @@
#endif
#include <sys/types.h>
#include <stdlib.h>
/****************************************************************