summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--h/zephyr/zephyr_conf.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/h/zephyr/zephyr_conf.h b/h/zephyr/zephyr_conf.h
index fbf8771..a0d8d83 100644
--- a/h/zephyr/zephyr_conf.h
+++ b/h/zephyr/zephyr_conf.h
@@ -15,6 +15,20 @@
#ifndef __ZEPHYR_CONF_H__
#define __ZEPHYR_CONF_H__
+#ifdef POSIX
+#define POSIX_FLOCK
+#define POSIX_SIGNALS
+#define HAVE_UNISTD_H
+#define HAVE_STDLIB_H
+#endif
+
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
#include <zephyr/mit-copyright.h>
#include <zephyr/zephyr_paths.h>