summaryrefslogtreecommitdiffstats
path: root/cpukit/mghttpd
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-11-17 17:02:08 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-11-17 17:02:08 +0000
commitce841ab57c120b0aee60c64ad0dda7bdc53a9219 (patch)
tree258e3d6e8536a46745b5e1a85722d7c0875beab9 /cpukit/mghttpd
parentConvert to unix encoding. (diff)
downloadrtems-ce841ab57c120b0aee60c64ad0dda7bdc53a9219.tar.bz2
Add HAVE_SYS_MMAN_H HAVE_DLFCN_H.
Diffstat (limited to 'cpukit/mghttpd')
-rw-r--r--cpukit/mghttpd/mongoose.c4
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"