make tcp apps depend on LWIP_CALLBACK_API, too

This commit is contained in:
goldsimon
2017-02-28 12:19:16 +01:00
parent f85eed0ab3
commit 1741edf159
4 changed files with 13 additions and 8 deletions

View File

@@ -102,7 +102,7 @@
#include <stdlib.h> /* atoi */
#include <stdio.h>
#if LWIP_TCP
#if LWIP_TCP && LWIP_CALLBACK_API
/** Minimum length for a valid HTTP/0.9 request: "GET /\r\n" -> 7 bytes */
#define MIN_REQ_LEN 7
@@ -2619,4 +2619,4 @@ http_set_cgi_handlers(const tCGI *cgis, int num_handlers)
}
#endif /* LWIP_HTTPD_CGI */
#endif /* LWIP_TCP */
#endif /* LWIP_TCP && LWIP_CALLBACK_API */