[git commit future 1/1] dl-osinfo.h: include needed headers

Peter S. Mazinger ps.m at gmx.net
Wed Mar 16 19:20:32 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=375a7067e97e01ddff60f6a10f61533449c80336
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 libc/sysdeps/linux/common/dl-osinfo.h |    5 +++--
 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 649d203..3110cb0 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
-- 
1.7.3.4



More information about the uClibc-cvs mailing list