add missing includes

This commit is contained in:
leitner 2021-04-22 11:12:52 +00:00
parent e1f516b426
commit 1fb5505cc2

View File

@ -8,6 +8,11 @@
#include <sys/time.h>
#endif
#include <errno.h>
#ifdef __dietlibc__
#include <threads.h>
#else
#include <semaphore.h>
#endif
// return the next event, waiting of none are queued
// wait at most timeout milliseconds