libwine: Include a couple of extra system headers to fix the compilation on Solaris.
Francois Gouget
fgouget at free.fr
Fri Dec 2 08:27:33 CST 2011
---
libs/wine/mmap.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/libs/wine/mmap.c b/libs/wine/mmap.c
index 1529a85..6ec814a 100644
--- a/libs/wine/mmap.c
+++ b/libs/wine/mmap.c
@@ -23,11 +23,15 @@
#include <assert.h>
#include <ctype.h>
+#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
+#ifdef HAVE_SYS_WAIT_H
+#include <sys/wait.h>
+#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
--
1.7.7.1
More information about the wine-patches
mailing list