diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-17 17:02:08 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-17 17:02:08 +0000 |
commit | ce841ab57c120b0aee60c64ad0dda7bdc53a9219 (patch) | |
tree | 258e3d6e8536a46745b5e1a85722d7c0875beab9 /cpukit/mghttpd | |
parent | dd1569b1b36a56490b745e9f1789a4a1a59874ba (diff) |
Add HAVE_SYS_MMAN_H HAVE_DLFCN_H.
Diffstat (limited to 'cpukit/mghttpd')
-rw-r--r-- | cpukit/mghttpd/mongoose.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/mghttpd/mongoose.c b/cpukit/mghttpd/mongoose.c index e40bf9d378..72652f980a 100644 --- a/cpukit/mghttpd/mongoose.c +++ b/cpukit/mghttpd/mongoose.c @@ -161,7 +161,9 @@ typedef struct DIR { #include <sys/wait.h> #include <sys/socket.h> #include <sys/select.h> +#if HAVE_SYS_MMAN_H #include <sys/mman.h> +#endif #include <netinet/in.h> #include <arpa/inet.h> #include <sys/time.h> @@ -171,7 +173,9 @@ typedef struct DIR { #include <pwd.h> #include <unistd.h> #include <dirent.h> +#if HAVE_DLFCN_H #include <dlfcn.h> +#endif #include <pthread.h> #define SSL_LIB "libssl.so" #define CRYPTO_LIB "libcrypto.so" |