RPL border router: re-enable Web-server-free compilation
This commit is contained in:
parent
76d549fc00
commit
b339c42a09
|
@ -37,14 +37,11 @@
|
|||
* Joakim Eriksson <joakime@sics.se>
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "contiki.h"
|
||||
#include "contiki-net.h"
|
||||
|
||||
#if UIP_CONF_TCP == 0
|
||||
#error HTTP server needs TCP enabled
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "httpd-simple.h"
|
||||
#define webserver_log_file(...)
|
||||
|
|
|
@ -310,7 +310,6 @@ PT_THREAD(generate_routes(struct httpd_state *s))
|
|||
|
||||
PSOCK_END(&s->sout);
|
||||
}
|
||||
#if BORDER_ROUTER_CONF_WEBSERVER
|
||||
/*---------------------------------------------------------------------------*/
|
||||
PROCESS(webserver_nogui_process, "Web server");
|
||||
PROCESS_THREAD(webserver_nogui_process, ev, data)
|
||||
|
@ -332,4 +331,4 @@ httpd_simple_get_script(const char *name)
|
|||
{
|
||||
return generate_routes;
|
||||
}
|
||||
#endif /* BORDER_ROUTER_CONF_WEBSERVER */
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -44,7 +44,9 @@
|
|||
#define WEBSERVER_CONF_CFS_CONNS 2
|
||||
#endif
|
||||
|
||||
#ifndef BORDER_ROUTER_CONF_WEBSERVER
|
||||
#define BORDER_ROUTER_CONF_WEBSERVER 1
|
||||
#endif
|
||||
|
||||
#if BORDER_ROUTER_CONF_WEBSERVER
|
||||
#define UIP_CONF_TCP 1
|
||||
|
|
Loading…
Reference in New Issue