Francois Gouget : netapi32: 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: 625f88c6f3c59f55c3fc0320ea64f46fc7f6cb21
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=625f88c6f3c59f55c3fc0320ea64f46fc7f6cb21

Author: Francois Gouget <fgouget at free.fr>
Date:   Fri Dec  2 15:29:04 2011 +0100

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

---

 dlls/netapi32/access.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/netapi32/access.c b/dlls/netapi32/access.c
index d3b9063..c48c693 100644
--- a/dlls/netapi32/access.c
+++ b/dlls/netapi32/access.c
@@ -21,9 +21,7 @@
 #include "config.h"
 #include <stdarg.h>
 #include <fcntl.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