mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-26 22:41:03 +08:00
Dont use ctype.h from str.h
This commit is contained in:
parent
97f95e17db
commit
43405afdb2
@ -539,8 +539,7 @@ static __inline struct tm *localtime_r(time_t *t, struct tm *tm) {
|
||||
#endif
|
||||
|
||||
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
struct mg_str {
|
||||
const char *ptr; // Pointer to string data
|
||||
|
@ -1,7 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include "arch.h"
|
||||
|
||||
struct mg_str {
|
||||
const char *ptr; // Pointer to string data
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
#define _POSIX_TIMERS
|
||||
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user