From 1e03cdd5530e86a7f2332af6ad8e78ab8037bf4f Mon Sep 17 00:00:00 2001 From: Joakim Gebart Date: Mon, 12 May 2014 20:34:45 +0200 Subject: [PATCH] examples/ipv6/rpl-border-router: Add -DUIP_CONF_TCP=1 to CFLAGS The example used to rely on the default value being set to 1 which caused build failures on platforms which have a default UIP_CONF_TCP=0 Signed-off-by: Joakim Gebart --- examples/ipv6/rpl-border-router/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/ipv6/rpl-border-router/Makefile b/examples/ipv6/rpl-border-router/Makefile index f296b0bb3..92b2b0bf4 100644 --- a/examples/ipv6/rpl-border-router/Makefile +++ b/examples/ipv6/rpl-border-router/Makefile @@ -26,10 +26,12 @@ PROJECT_SOURCEFILES += slip-bridge.c WITH_WEBSERVER=1 ifeq ($(WITH_WEBSERVER),1) +CFLAGS += -DUIP_CONF_TCP=1 CFLAGS += -DWEBSERVER=1 PROJECT_SOURCEFILES += httpd-simple.c else ifneq ($(WITH_WEBSERVER), 0) APPS += $(WITH_WEBSERVER) +CFLAGS += -DUIP_CONF_TCP=1 CFLAGS += -DWEBSERVER=2 endif