winspool: Fix the compilation on Solaris by including errno.h instead of sys/errno.h.
Francois Gouget
fgouget at free.fr
Fri Dec 2 08:29:23 CST 2011
---
I have tested this on FreeBSD 7.0, Solaris 10u9, Debian Testing, Debian
4.0 and Leopard and they are all happy with the standard errno.h
header instead of the non-standard sys/errno.h one.
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
--
1.7.7.1
More information about the wine-patches
mailing list