From efe46a0483084abd570bdce15ea044e168d10441 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 3 Nov 2021 10:42:59 +0100 Subject: [PATCH] include: Don't include unistd.h in wine/port.h. Signed-off-by: Alexandre Julliard --- dlls/win32u/freetype.c | 1 + dlls/wineandroid.drv/device.c | 1 + include/wine/port.h | 3 --- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dlls/win32u/freetype.c b/dlls/win32u/freetype.c index 6e573b23cdf..70415d8a157 100644 --- a/dlls/win32u/freetype.c +++ b/dlls/win32u/freetype.c @@ -43,6 +43,7 @@ #endif #include #include +#include #ifdef HAVE_CARBON_CARBON_H #define LoadResource __carbon_LoadResource diff --git a/dlls/wineandroid.drv/device.c b/dlls/wineandroid.drv/device.c index 4a16e6836ed..6ddb4b741eb 100644 --- a/dlls/wineandroid.drv/device.c +++ b/dlls/wineandroid.drv/device.c @@ -26,6 +26,7 @@ #include #include #include +#include #define NONAMELESSUNION #define NONAMELESSSTRUCT diff --git a/include/wine/port.h b/include/wine/port.h index 0e9911af9ad..bc71725ed4e 100644 --- a/include/wine/port.h +++ b/include/wine/port.h @@ -32,9 +32,6 @@ #include #include #include -#ifdef HAVE_UNISTD_H -# include -#endif /****************************************************************