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

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-10-30 22:36:22 +02:00
parent c27832d717
commit 341cb1a933
3 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <stdarg.h>
#include <stdio.h>
#include <unistd.h>

View File

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

View File

@ -29,7 +29,6 @@
# error You must include port.h before all other headers
#endif
#include <fcntl.h>
#include <sys/types.h>
#include <string.h>
#include <stdlib.h>