aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2016-02-01 01:52:06 -0800
committerH. Peter Anvin <hpa@zytor.com>2016-02-01 01:52:06 -0800
commitaa5948f9f394c9357fce8ee3e7ad7b7f10fa63b1 (patch)
tree13d471f53a728aacae09908bda416677d58e1f8e
parentb4babe7a3618705a283fc9458de19aba1d12401d (diff)
downloadklibc-aa5948f9f394c9357fce8ee3e7ad7b7f10fa63b1.tar.gz
[klibc] stdlib.h: include <fcntl.h> for inline of posix_grantpt()
Since namespace pollution is not a major concern in klibc, add <fcntl.h> to support the inline of posix_grantpt(). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--usr/include/stdlib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/include/stdlib.h b/usr/include/stdlib.h
index 250755f3ba9f68..123eddc1bf7796 100644
--- a/usr/include/stdlib.h
+++ b/usr/include/stdlib.h
@@ -10,6 +10,7 @@
#include <stddef.h>
#include <malloc.h>
+#include <fcntl.h>
#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0