summaryrefslogtreecommitdiffstats
path: root/cpukit/mghttpd
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/mghttpd')
-rw-r--r--cpukit/mghttpd/Makefile.am2
-rw-r--r--cpukit/mghttpd/mongoose.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/mghttpd/Makefile.am b/cpukit/mghttpd/Makefile.am
index c3e605c679..5058f8b85e 100644
--- a/cpukit/mghttpd/Makefile.am
+++ b/cpukit/mghttpd/Makefile.am
@@ -9,8 +9,6 @@ $(PROJECT_LIB)/libmghttpd.a: libmghttpd.a
TMPINSTALL_FILES = $(PROJECT_LIB)/libmghttpd.a
libmghttpd_a_CPPFLAGS = $(AM_CPPFLAGS)
-# libmghttpd_a_CPPFLAGS += -DHAVE_MD5
-libmghttpd_a_CPPFLAGS += -DNO_SSL -DNO_POPEN -DNO_CGI -DUSE_WEBSOCKET
libmghttpd_a_SOURCES = mongoose.c mongoose.h
endif
diff --git a/cpukit/mghttpd/mongoose.c b/cpukit/mghttpd/mongoose.c
index f7d65a9948..52bc4d3c1a 100644
--- a/cpukit/mghttpd/mongoose.c
+++ b/cpukit/mghttpd/mongoose.c
@@ -25,6 +25,10 @@
#if defined(__rtems__)
#include <md5.h>
#define HAVE_MD5
+#define NO_CGI
+#define NO_POPEN
+#define NO_SSL
+#define USE_WEBSOCKET
#endif // __rtems__
#if defined(_WIN32)