summaryrefslogtreecommitdiff
path: root/h/zephyr
diff options
context:
space:
mode:
Diffstat (limited to 'h/zephyr')
-rw-r--r--h/zephyr/zephyr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/h/zephyr/zephyr.h b/h/zephyr/zephyr.h
index 974d219..2d0ce7b 100644
--- a/h/zephyr/zephyr.h
+++ b/h/zephyr/zephyr.h
@@ -15,6 +15,10 @@
#ifndef __ZEPHYR_H__
#define __ZEPHYR_H__
+#ifdef POSIX
+#include <unistd.h>
+#endif
+
#include <zephyr/zephyr_err.h>
#include <zephyr/zephyr_conf.h>