summaryrefslogtreecommitdiff
path: root/profiles/osapi/midipix.h
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/osapi/midipix.h')
-rw-r--r--profiles/osapi/midipix.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/profiles/osapi/midipix.h b/profiles/osapi/midipix.h
index bf94a2b..300e361 100644
--- a/profiles/osapi/midipix.h
+++ b/profiles/osapi/midipix.h
@@ -6,6 +6,9 @@
#define HAVE_DIRENT_H 1
#define HAVE_NETPACKET_PACKET_H 1
+/* interfaces */
+#define HAVE_GETRANDOM_SYSCALL 1
+
/* os characteristics */
#define RETSIGTYPE void
#define SHLIB_EXT ".so"
@@ -15,4 +18,10 @@
#define TANH_PRESERVES_ZERO_SIGN 1
#define TIME_WITH_SYS_TIME 1
+/* getrandom */
+#ifndef GRND_RANDOM
+#define GRND_NONBLOCK (0x01)
+#define GRND_RANDOM (0x02)
+#endif
+
#endif