Alexandre Julliard : include: Don't include sys/stat.h in wine/port.h.
Alexandre Julliard
julliard at winehq.org
Mon Nov 1 16:38:01 CDT 2021
Module: wine
Branch: master
Commit: c27832d717e413d14aa3cb41e02fa3339c298e3c
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c27832d717e413d14aa3cb41e02fa3339c298e3c
Author: Alexandre Julliard <julliard at winehq.org>
Date: Sat Oct 30 22:34:28 2021 +0200
include: Don't include sys/stat.h in wine/port.h.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mountmgr.sys/device.c | 1 +
include/wine/port.h | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/mountmgr.sys/device.c b/dlls/mountmgr.sys/device.c
index 04e8fe3c0f5..aa6db175e69 100644
--- a/dlls/mountmgr.sys/device.c
+++ b/dlls/mountmgr.sys/device.c
@@ -28,6 +28,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <sys/time.h>
+#include <sys/stat.h>
#ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
diff --git a/include/wine/port.h b/include/wine/port.h
index fda19f0ad4b..35ffb9d6aba 100644
--- a/include/wine/port.h
+++ b/include/wine/port.h
@@ -31,7 +31,6 @@
#include <fcntl.h>
#include <sys/types.h>
-#include <sys/stat.h>
#include <string.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
More information about the wine-cvs
mailing list