secur32: Fix the compilation on Solaris by including errno.h instead of sys/errno.h.

Francois Gouget fgouget at
Fri Dec 2 08:29:16 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/secur32/dispatcher.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/secur32/dispatcher.c b/dlls/secur32/dispatcher.c
index 88e81ba..33b0512 100644
--- a/dlls/secur32/dispatcher.c
+++ b/dlls/secur32/dispatcher.c
@@ -29,9 +29,7 @@
 #include <sys/wait.h>
-#include <sys/errno.h>
+#include <errno.h>
 #include <stdlib.h>
 #include <fcntl.h>
 #include "windef.h"

More information about the wine-patches mailing list