mshtml: Check for HAVE_UNISTD_H before including unistd.h.

Francois Gouget fgouget at free.fr
Sun Oct 14 07:35:14 CDT 2007


---
 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 db3f7f6..7b22e60 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
-- 
1.5.3.2




More information about the wine-patches mailing list