Browse Source

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>
Peter S. Mazinger 13 years ago
parent
commit
b534100aaa
1 changed files with 3 additions and 2 deletions
  1. 3 2
      libc/sysdeps/linux/common/dl-osinfo.h

+ 3 - 2
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