Francois Gouget : winspool: Fix the compilation on Solaris by including errno.h instead of sys/errno.h .
Alexandre Julliard
julliard at winehq.org
Fri Dec 2 10:58:29 CST 2011
Module: wine
Branch: master
Commit: 915ddc4026f318e5665670d4b76930edfad22ba6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=915ddc4026f318e5665670d4b76930edfad22ba6
Author: Francois Gouget <fgouget at free.fr>
Date: Fri Dec 2 15:29:23 2011 +0100
winspool: Fix the compilation on Solaris by including errno.h instead of sys/errno.h.
---
dlls/winspool.drv/info.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c
index 68ab5d7..9bb8915 100644
--- a/dlls/winspool.drv/info.c
+++ b/dlls/winspool.drv/info.c
@@ -33,9 +33,7 @@
#include <string.h>
#include <ctype.h>
#include <stddef.h>
-#ifdef HAVE_SYS_ERRNO_H
-#include <sys/errno.h>
-#endif
+#include <errno.h>
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
More information about the wine-cvs
mailing list