commit | 6afc68aabd93dd2184c5cb469ca0e843191f7158 | [log] [tgz] |
---|---|---|
author | Patrik Stridvall <ps@leissner.se> | Tue Jan 04 00:32:38 2000 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Tue Jan 04 00:32:38 2000 +0000 |
tree | 1a6fcb2ce035b41b9237c1efd8626e5fbb8b61d3 | |
parent | 416a42c34c4a506cd4883e51bebac3662fa767ac [diff] [blame] |
Fixed some issues found by winapi_check.
diff --git a/misc/registry.c b/misc/registry.c index afe70ba..a79d1b4 100644 --- a/misc/registry.c +++ b/misc/registry.c
@@ -30,6 +30,7 @@ #include <sys/errno.h> #endif #include <sys/types.h> +#include <fcntl.h> #include <sys/fcntl.h> #include <sys/stat.h> #include <assert.h> @@ -731,7 +732,10 @@ } } /* NT REGISTRY LOADER */ -#include <sys/mman.h> + +#ifdef HAVE_SYS_MMAN_H +# include <sys/mman.h> +#endif #ifndef MAP_FAILED #define MAP_FAILED ((LPVOID)-1)