aboutsummaryrefslogtreecommitdiff
path: root/stdlib/sys/random.h
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/sys/random.h')
-rw-r--r--stdlib/sys/random.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/stdlib/sys/random.h b/stdlib/sys/random.h
index b351ef5c8c..5edef78eb7 100644
--- a/stdlib/sys/random.h
+++ b/stdlib/sys/random.h
@@ -20,7 +20,9 @@
#define _SYS_RANDOM_H 1
#include <features.h>
-#include <sys/types.h>
+
+#include <bits/types/size_t.h>
+#include <bits/types/ssize_t.h>
/* Flags for use with getrandom. */
#define GRND_NONBLOCK 0x01