mirror of
https://github.com/espressif/esp-idf.git
synced 2026-02-05 14:31:45 +00:00
LwIP will define O_NONBLOCK in sockets.h if it isn't defined yet. If sys/fcntl.h is included after socket.h, there will be duplicate definition. Work around by including sys/fcntl.h into lwipopts.h. https://github.com/espressif/esp-idf/issues/75