Restore FFI-ability of struct mg_str

mgos_dlsym needs to include mg_str for ffi_exports to be able to use it

PUBLISHED_FROM=a2dd167c8e8f9e9b7316a856f19a4603080c3632
This commit is contained in:
Deomid Ryabkov 2018-04-13 17:34:03 +01:00 committed by Cesanta Bot
parent 43b5a4e735
commit 1614e7ba8d
2 changed files with 1 additions and 2 deletions

View File

@ -1636,6 +1636,7 @@ void mbuf_remove(struct mbuf *mb, size_t n) {
/* Amalgamated: #include "common/mg_mem.h" */
/* Amalgamated: #include "common/mg_str.h" */
/* Amalgamated: #include "common/platform.h" */
#include <stdlib.h>
#include <string.h>

View File

@ -2095,8 +2095,6 @@ double cs_timegm(const struct tm *tm);
#include <stddef.h>
/* Amalgamated: #include "common/platform.h" */
#ifdef __cplusplus
extern "C" {
#endif