From ef9a0f3bc35d24db0d097aba838f6b8fd6e507f1 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 3 Nov 2021 10:43:13 +0100 Subject: [PATCH] include: Don't include stdlib.h in wine/port.h. Signed-off-by: Alexandre Julliard --- dlls/bcrypt/gnutls.c | 1 + dlls/mountmgr.sys/device.c | 1 + dlls/mountmgr.sys/mountmgr.c | 1 + dlls/netapi32/unixlib.c | 1 + dlls/secur32/schannel_gnutls.c | 1 + dlls/winevulkan/make_vulkan | 5 +++-- dlls/winevulkan/vulkan_thunks.c | 3 ++- include/wine/port.h | 1 - 8 files changed, 10 insertions(+), 4 deletions(-) diff --git a/dlls/bcrypt/gnutls.c b/dlls/bcrypt/gnutls.c index a015d85f85d..863b47f50eb 100644 --- a/dlls/bcrypt/gnutls.c +++ b/dlls/bcrypt/gnutls.c @@ -28,6 +28,7 @@ #ifdef HAVE_GNUTLS_CIPHER_INIT #include +#include #include #include #include diff --git a/dlls/mountmgr.sys/device.c b/dlls/mountmgr.sys/device.c index aa6db175e69..23134787ba0 100644 --- a/dlls/mountmgr.sys/device.c +++ b/dlls/mountmgr.sys/device.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/dlls/mountmgr.sys/mountmgr.c b/dlls/mountmgr.sys/mountmgr.c index 27f642df7e8..2dff533f221 100644 --- a/dlls/mountmgr.sys/mountmgr.c +++ b/dlls/mountmgr.sys/mountmgr.c @@ -31,6 +31,7 @@ #endif #include +#include #include #ifdef HAVE_SYS_STAT_H #include diff --git a/dlls/netapi32/unixlib.c b/dlls/netapi32/unixlib.c index 565327ba4b1..0c86b619c99 100644 --- a/dlls/netapi32/unixlib.c +++ b/dlls/netapi32/unixlib.c @@ -29,6 +29,7 @@ #ifdef SONAME_LIBNETAPI #include +#include #include #include #ifdef HAVE_SYS_WAIT_H diff --git a/dlls/secur32/schannel_gnutls.c b/dlls/secur32/schannel_gnutls.c index 4d8109721ce..b817a37c4a4 100644 --- a/dlls/secur32/schannel_gnutls.c +++ b/dlls/secur32/schannel_gnutls.c @@ -28,6 +28,7 @@ #include #include +#include #include #ifdef SONAME_LIBGNUTLS #include diff --git a/dlls/winevulkan/make_vulkan b/dlls/winevulkan/make_vulkan index e84442d7a79..f88f15b49dd 100755 --- a/dlls/winevulkan/make_vulkan +++ b/dlls/winevulkan/make_vulkan @@ -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 \n\n") f.write("#include \"vulkan_private.h\"\n\n") diff --git a/dlls/winevulkan/vulkan_thunks.c b/dlls/winevulkan/vulkan_thunks.c index 97dbc4664ec..eeda463d7a7 100644 --- a/dlls/winevulkan/vulkan_thunks.c +++ b/dlls/winevulkan/vulkan_thunks.c @@ -14,7 +14,8 @@ #endif #include "config.h" -#include "wine/port.h" + +#include #include "vulkan_private.h" diff --git a/include/wine/port.h b/include/wine/port.h index 8520fbc05b1..694032a33bc 100644 --- a/include/wine/port.h +++ b/include/wine/port.h @@ -30,7 +30,6 @@ #endif #include -#include /****************************************************************