aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-27 10:35:00 -0800
committerChris Robinson <[email protected]>2018-11-27 10:35:00 -0800
commitff6dda06ad66d71d4178bfa2aee282abe6c3ec23 (patch)
tree23d092d1a8baae1af226e69e55a14d2e72bfa356
parent07670ed36aeb32e8a7da12110bed1003c46c704e (diff)
Add the appropriate include for the _POSIX_TIMERS macro
-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)