Francois Gouget : mshtml: Check for HAVE_UNISTD_H before including unistd.h .
Alexandre Julliard
julliard at winehq.org
Mon Oct 15 11:28:00 CDT 2007
Module: wine
Branch: master
Commit: f4bb8209f2555566889a5cc10585fe910554d45c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f4bb8209f2555566889a5cc10585fe910554d45c
Author: Francois Gouget <fgouget at free.fr>
Date: Sun Oct 14 14:35:14 2007 +0200
mshtml: Check for HAVE_UNISTD_H before including unistd.h.
---
dlls/mshtml/install.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/install.c b/dlls/mshtml/install.c
index 364884f..3890ac2 100644
--- a/dlls/mshtml/install.c
+++ b/dlls/mshtml/install.c
@@ -20,7 +20,9 @@
#include <stdarg.h>
#include <fcntl.h>
-#include <unistd.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
#define COBJMACROS
#define NONAMELESSUNION
More information about the wine-cvs
mailing list