Module: wine Branch: master Commit: e4387430410c81cf339923b6d041a2e9b076293d URL: http://source.winehq.org/git/wine.git/?a=commit;h=e4387430410c81cf339923b6d0...
Author: Francois Gouget fgouget@free.fr Date: Fri Dec 2 15:27:33 2011 +0100
libwine: Include a couple of extra system headers to fix the compilation on Solaris.
---
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