1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

freertos: explicitly include semphr.h

Although it's already included in lws esp-idf freertos case, in some
other freertos environments it's necessary to explicitly include
the semaphore header.
This commit is contained in:
William Yu 2020-08-12 05:54:27 +01:00 committed by Andy Green
parent dd3bae8c71
commit 98f63c6c8d

View file

@ -60,6 +60,7 @@ gai_strerror(int);
#endif
#include "timers.h"
#include <esp_attr.h>
#include <semphr.h>
#else
#include "freertos/timers.h"
#include <esp_attr.h>