aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/common/alhelpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/common/alhelpers.c b/examples/common/alhelpers.c
index 5d2c6536..c8f0bb37 100644
--- a/examples/common/alhelpers.c
+++ b/examples/common/alhelpers.c
@@ -149,6 +149,7 @@ void al_nssleep(unsigned long nsec)
#else
#include <sys/time.h>
+#include <unistd.h>
#include <time.h>
unsigned int altime_get(void)