fixed missing os.h
This commit is contained in:
parent
68b1ed07d6
commit
b2c9f9bd63
1 changed files with 7 additions and 0 deletions
|
|
@ -9,6 +9,13 @@
|
|||
|
||||
#include "vec.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#define stricmp _stricmp
|
||||
#else
|
||||
#include <strings.h> // strcasecmp
|
||||
#define stricmp strcasecmp
|
||||
#endif
|
||||
|
||||
// == INTERNAL ================================================================
|
||||
|
||||
static void _setField(vec(http_field_t) *fields_vec, const char *key, const char *value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue