From 94de15c1bacb554c91e96c119863ae8701ba46a4 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Mon, 1 Oct 2007 20:43:28 +0000 Subject: [PATCH] Added lwip-includes. How could this ever have comiled without these??? --- apps/httpserver/httpserver-netconn.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/httpserver/httpserver-netconn.c b/apps/httpserver/httpserver-netconn.c index 7e9b357..8cd74d3 100644 --- a/apps/httpserver/httpserver-netconn.c +++ b/apps/httpserver/httpserver-netconn.c @@ -1,3 +1,9 @@ +#include "lwip/opt.h" +#include "lwip/arch.h" +#include "lwip/api.h" + +#if LWIP_NETCONN + const static char http_html_hdr[] = "HTTP/1.1 200 OK\r\nContent-type: text/html\r\n\r\n"; const static char http_index_html[] = "Congrats!

Welcome to our lwIP HTTP server!

This is a small test page."; @@ -60,3 +66,5 @@ int http_server() { } return 0; } + +#endif /* LWIP_NETCONN*/