aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/strtoq.c2
-rw-r--r--lib/libc/stdlib/strtouq.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/stdlib/strtoq.c b/lib/libc/stdlib/strtoq.c
index 65e87d6618a4..ee68b4e56a33 100644
--- a/lib/libc/stdlib/strtoq.c
+++ b/lib/libc/stdlib/strtoq.c
@@ -40,6 +40,8 @@ static const char rcsid[] =
"$FreeBSD$";
#endif
+#include <sys/types.h>
+
#include <stdlib.h>
/*
diff --git a/lib/libc/stdlib/strtouq.c b/lib/libc/stdlib/strtouq.c
index 6005e5bf2d2f..926000e6e7f4 100644
--- a/lib/libc/stdlib/strtouq.c
+++ b/lib/libc/stdlib/strtouq.c
@@ -40,6 +40,8 @@ static const char rcsid[] =
"$FreeBSD$";
#endif
+#include <sys/types.h>
+
#include <stdlib.h>
/*