Fix #1288 - better mg_iobuf_append allocation strategy

This commit is contained in:
cpq committed 2021-05-29 09:44:07 +01:00
1 parent c0a8546330
commit 9d68e20dcc
3 files changed
+23 -8

No files matched your search

+9
View File
@@ -127,7 +127,16 @@
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#if defined(__GNUC__)
#include <sys/time.h>
#else
typedef long suseconds_t;
struct timeval {
time_t tv_sec;
suseconds_t tv_usec;
};
#endif
#if MG_ENABLE_FS
#include <sys/stat.h>