[git commit] dl-osinfo.h: include needed headers
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Jun 15 12:00:26 UTC 2012
commit: http://git.uclibc.org/uClibc/commit/?id=b534100aaae00dd58ca907b60cd0510ccdc6df10
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
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
More information about the uClibc-cvs
mailing list