27 typedef int lws_sockfd_type;
28 typedef int lws_filefd_type;
30 #if defined(LWS_AMAZON_RTOS)
32 #include <event_groups.h>
35 #include <lwip/sockets.h>
45 #if !defined(POLLIN) && !defined(POLLOUT)
53 #define POLLPRI 0x0002
54 #define POLLOUT 0x0004
55 #define POLLERR 0x0008
56 #define POLLHUP 0x0010
57 #define POLLNVAL 0x0020
62 #include <freertos/FreeRTOS.h>
63 #include <freertos/event_groups.h>
66 #include "esp_system.h"
67 #include "esp_event.h"
70 #include "driver/gpio.h"
71 #include "esp_spi_flash.h"
72 #include "freertos/timers.h"
74 #if defined(LWS_ESP_PLATFORM)
75 #include "lwip/sockets.h"
76 #include "lwip/netdb.h"
77 #if defined(LWS_WITH_DRIVERS)
78 #include "libwebsockets/lws-gpio.h"
85 #if !defined(CONFIG_FREERTOS_HZ)
86 #define CONFIG_FREERTOS_HZ 100
Definition: lws-gpio.h:52