Commit 1614e7ba authored by Deomid Ryabkov's avatar Deomid Ryabkov Committed by Cesanta Bot

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
parent 43b5a4e7
...@@ -1636,6 +1636,7 @@ void mbuf_remove(struct mbuf *mb, size_t n) { ...@@ -1636,6 +1636,7 @@ void mbuf_remove(struct mbuf *mb, size_t n) {
/* Amalgamated: #include "common/mg_mem.h" */ /* Amalgamated: #include "common/mg_mem.h" */
/* Amalgamated: #include "common/mg_str.h" */ /* Amalgamated: #include "common/mg_str.h" */
/* Amalgamated: #include "common/platform.h" */
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
......
...@@ -2095,8 +2095,6 @@ double cs_timegm(const struct tm *tm); ...@@ -2095,8 +2095,6 @@ double cs_timegm(const struct tm *tm);
#include <stddef.h> #include <stddef.h>
/* Amalgamated: #include "common/platform.h" */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #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