[klibc] [klibc:master] stdlib.h: include <fcntl.h> for inline of posix_grantpt()

klibc-bot for H. Peter Anvin hpa at zytor.com
Mon Feb 1 01:57:02 PST 2016


Commit-ID:  aa5948f9f394c9357fce8ee3e7ad7b7f10fa63b1
Gitweb:     http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=aa5948f9f394c9357fce8ee3e7ad7b7f10fa63b1
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Mon, 1 Feb 2016 01:52:06 -0800
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Mon, 1 Feb 2016 01:52:06 -0800

[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 at zytor.com>

---
 usr/include/stdlib.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr/include/stdlib.h b/usr/include/stdlib.h
index 250755f..123eddc 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


More information about the klibc mailing list