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

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-11-03 10:42:59 +01:00
parent 1c9b843ecf
commit efe46a0483
3 changed files with 2 additions and 3 deletions

View File

@ -43,6 +43,7 @@
#endif #endif
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <unistd.h>
#ifdef HAVE_CARBON_CARBON_H #ifdef HAVE_CARBON_CARBON_H
#define LoadResource __carbon_LoadResource #define LoadResource __carbon_LoadResource

View File

@ -26,6 +26,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <unistd.h>
#define NONAMELESSUNION #define NONAMELESSUNION
#define NONAMELESSSTRUCT #define NONAMELESSSTRUCT

View File

@ -32,9 +32,6 @@
#include <sys/types.h> #include <sys/types.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
/**************************************************************** /****************************************************************