15 Oct
2007
15 Oct
'07
5:28 p.m.
Module: wine Branch: master Commit: f4bb8209f2555566889a5cc10585fe910554d45c URL: http://source.winehq.org/git/wine.git/?a=commit;h=f4bb8209f2555566889a5cc105... Author: Francois Gouget <fgouget(a)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