mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-15 19:13:18 +00:00
Dont use ctype.h from str.h
This commit is contained in:
1 parent
97f95e17db
commit
43405afdb2
3 files changed
+3
-4
No files matched your search
+1
-2
@@ -539,8 +539,7 @@ static __inline struct tm *localtime_r(time_t *t, struct tm *tm) {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
struct mg_str {
|
struct mg_str {
|
||||||
const char *ptr; // Pointer to string data
|
const char *ptr; // Pointer to string data
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <ctype.h>
|
#include "arch.h"
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
struct mg_str {
|
struct mg_str {
|
||||||
const char *ptr; // Pointer to string data
|
const char *ptr; // Pointer to string data
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#define _POSIX_TIMERS
|
#define _POSIX_TIMERS
|
||||||
|
|
||||||
|
#include <ctype.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|||||||
Reference in new issue
Block a user