Update esp_http_client example to build for linux target

This commit is contained in:
Harshit Malpani
2022-11-08 16:31:52 +05:30
parent e215ede439
commit 5c728e94a7
9 changed files with 141 additions and 36 deletions

View File

@@ -0,0 +1,11 @@
/*
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Unlicense OR CC0-1.0
*/
#include <sys/ioctl.h>
#include <net/if.h>
#include <ifaddrs.h>
#include "esp_err.h"
esp_err_t esp_netif_init(void);