summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-17 00:02:13 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:26 +0200
commitb534100aaae00dd58ca907b60cd0510ccdc6df10 (patch)
tree5da511de8bf43cecb6994883d41d337bfa3e405a /libc/sysdeps
parent916229f02ca6464435146fc86f9cb57b0ac47d8e (diff)
dl-osinfo.h: include needed headers
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/dl-osinfo.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/dl-osinfo.h b/libc/sysdeps/linux/common/dl-osinfo.h
index 649d203f8..3110cb05d 100644
--- a/libc/sysdeps/linux/common/dl-osinfo.h
+++ b/libc/sysdeps/linux/common/dl-osinfo.h
@@ -17,10 +17,11 @@
# endif
# include <stdint.h>
-# include <sys/time.h>
# ifdef IS_IN_libc
-#include <fcntl.h>
+# include <fcntl.h>
+# include <unistd.h>
+# include <sys/time.h>
# define OPEN open
# define READ read
# define CLOSE close