Alexandre Julliard : include: Don't include fcntl.h in wine/port.h.
Alexandre Julliard
julliard at winehq.org
Mon Nov 1 16:38:01 CDT 2021
Module: wine
Branch: master
Commit: 341cb1a933aec7b2858414f571ea98ba29caa72a
URL: https://source.winehq.org/git/wine.git/?a=commit;h=341cb1a933aec7b2858414f571ea98ba29caa72a
Author: Alexandre Julliard <julliard at winehq.org>
Date: Sat Oct 30 22:36:22 2021 +0200
include: Don't include fcntl.h in wine/port.h.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mountmgr.sys/diskarb.c | 1 +
dlls/win32u/freetype.c | 1 +
include/wine/port.h | 1 -
3 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/mountmgr.sys/diskarb.c b/dlls/mountmgr.sys/diskarb.c
index e33365f6301..fa8550cee9f 100644
--- a/dlls/mountmgr.sys/diskarb.c
+++ b/dlls/mountmgr.sys/diskarb.c
@@ -23,6 +23,7 @@
#include <assert.h>
#include <errno.h>
+#include <fcntl.h>
#include <stdarg.h>
#include <stdio.h>
#include <unistd.h>
diff --git a/dlls/win32u/freetype.c b/dlls/win32u/freetype.c
index 76afc8e8ead..6e573b23cdf 100644
--- a/dlls/win32u/freetype.c
+++ b/dlls/win32u/freetype.c
@@ -30,6 +30,7 @@
#include <stdarg.h>
#include <stdlib.h>
+#include <fcntl.h>
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
diff --git a/include/wine/port.h b/include/wine/port.h
index 35ffb9d6aba..0e9911af9ad 100644
--- a/include/wine/port.h
+++ b/include/wine/port.h
@@ -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>
More information about the wine-cvs
mailing list