From e2b1ae259dfef10029ac46b4f4b3a8a7aea97bc4 Mon Sep 17 00:00:00 2001 From: Anurag Kar Date: Wed, 24 Oct 2018 15:39:43 +0530 Subject: [PATCH] Protocomm : Use esp_http_server instead of http_server --- components/protocomm/CMakeLists.txt | 2 +- components/protocomm/src/transports/protocomm_httpd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/protocomm/CMakeLists.txt b/components/protocomm/CMakeLists.txt index a6609e5aa5..ec3a7365ba 100644 --- a/components/protocomm/CMakeLists.txt +++ b/components/protocomm/CMakeLists.txt @@ -12,7 +12,7 @@ set(COMPONENT_SRCS "src/common/protocomm.c" "src/transports/protocomm_console.c" "src/transports/protocomm_httpd.c") -set(COMPONENT_PRIV_REQUIRES protobuf-c mbedtls console http_server bt) +set(COMPONENT_PRIV_REQUIRES protobuf-c mbedtls console esp_http_server bt) if(CONFIG_BT_ENABLED) if(CONFIG_BLUEDROID_ENABLED) diff --git a/components/protocomm/src/transports/protocomm_httpd.c b/components/protocomm/src/transports/protocomm_httpd.c index e8d2466032..a7c9b5599e 100644 --- a/components/protocomm/src/transports/protocomm_httpd.c +++ b/components/protocomm/src/transports/protocomm_httpd.c @@ -17,7 +17,7 @@ #include #include -#include +#include #include #include