mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
fix <errno.h> for requests
This commit is contained in:
parent
ebe10bc5f4
commit
04a174a7d3
4
port/linux/.vscode/settings.json
vendored
4
port/linux/.vscode/settings.json
vendored
@ -82,7 +82,9 @@
|
||||
"time.h": "c",
|
||||
"platform_thread.h": "c",
|
||||
"platform_timer.h": "c",
|
||||
"stddef.h": "c"
|
||||
"stddef.h": "c",
|
||||
"errno.h": "c",
|
||||
"ctype.h": "c"
|
||||
},
|
||||
"python.formatting.provider": "autopep8",
|
||||
"C_Cpp.errorSquiggles": "Disabled"
|
||||
|
@ -15,15 +15,12 @@
|
||||
* 2021-06-09 xiangxistu add shard download function
|
||||
*/
|
||||
|
||||
#include "webclient.h"
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "webclient.h"
|
||||
|
||||
#include <sys/errno.h>
|
||||
|
||||
#define DBG_ENABLE
|
||||
#define DBG_SECTION_NAME "web"
|
||||
#ifdef WEBCLIENT_DEBUG
|
||||
|
@ -1,6 +1,7 @@
|
||||
#include "PikaObj.h"
|
||||
#ifdef __linux__
|
||||
#include <arpa/inet.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <netdb.h>
|
||||
#include <sys/socket.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user