Cleanup #include structure of altcp_tls a bit

(as discussed with Simon today)
This commit is contained in:
Dirk Ziegelmeier
2017-03-28 20:31:25 +02:00
parent b09b3fa4e6
commit 38651b8069
7 changed files with 13 additions and 15 deletions

View File

@@ -57,12 +57,12 @@
#if LWIP_ALTCP /* don't build if not configured for use in lwipopts.h */
#include "lwip/apps/altcp_tls_opts.h"
#include "lwip/apps/altcp_tls_mbedtls_opts.h"
#if LWIP_ALTCP_TLS && LWIP_ALTCP_TLS_MBEDTLS
#include "lwip/altcp.h"
#include "lwip/apps/altcp_tls.h"
#include "lwip/altcp_tls.h"
#include "lwip/priv/altcp_priv.h"
#include "altcp_tls_mbedtls_structs.h"

View File

@@ -99,7 +99,7 @@
#include "lwip/altcp.h"
#include "lwip/altcp_tcp.h"
#if HTTPD_ENABLE_HTTPS
#include "lwip/apps/altcp_tls.h"
#include "lwip/altcp_tls.h"
#endif
#include <string.h> /* memset */

View File

@@ -55,7 +55,7 @@
#include "lwip/pbuf.h"
#include "lwip/altcp.h"
#include "lwip/altcp_tcp.h"
#include "lwip/apps/altcp_tls.h"
#include "lwip/altcp_tls.h"
#include <string.h>
#if LWIP_TCP && LWIP_CALLBACK_API