Commit 72f1d444 authored by Alexander Alashkin's avatar Alexander Alashkin Committed by Cesanta Bot

Fix miot compilation in C++ mode

PUBLISHED_FROM=42997efb3ddc462c33d2cf7e8ef0e922797d9901
parent 7dcc9420
......@@ -880,7 +880,7 @@ typedef struct stat cs_stat_t;
*/
#ifdef __cplusplus
/* Amalgamated: #include "mbed.h" */
#endif
#endif /* __cplusplus */
#include <assert.h>
#include <ctype.h>
......@@ -1636,14 +1636,13 @@ int mg_strncmp(const struct mg_str str1, const struct mg_str str2, size_t n);
#ifndef CS_COMMON_MBUF_H_
#define CS_COMMON_MBUF_H_
#include <stdlib.h>
/* Amalgamated: #include "common/platform.h" */
#if defined(__cplusplus)
extern "C" {
#endif
#include <stdlib.h>
/* Amalgamated: #include "common/platform.h" */
#ifndef MBUF_SIZE_MULTIPLIER
#define MBUF_SIZE_MULTIPLIER 1.5
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment