Displaying 2 results from an estimated 2 matches for "7a2f8b9".
Did you mean:
7a27f859
2012 Sep 25
1
[PATCH] Fix <sys/time.h> for Linux 3.5.1
...e for each function it appears in
This is due to Linux commit 8ded2bbc1845e19c771eb55209aab166ef011243.
Handle it by making sure that FD_SETSIZE is defined.
---
usr/include/sys/time.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/usr/include/sys/time.h b/usr/include/sys/time.h
index 7a2f8b9..178a4c6 100644
--- a/usr/include/sys/time.h
+++ b/usr/include/sys/time.h
@@ -15,6 +15,8 @@
double-underscore ones, except __NFDBITS, __FD_SETSIZE and
__FDSET_LONGS which are defined in <linux/posix_types.h>.
+ From 3.5.1, <linux/time.h> does not even define FD_ZERO etc.
+...
2012 Oct 01
0
[klibc:master] include: [sys/time.h] fix for Linux 3.5.1
...at FD_SETSIZE is defined.
Signed-off-by: Colin Watson <cjwatson at ubuntu.com>
Signed-off-by: maximilian attems <max at stro.at>
---
usr/include/sys/time.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/usr/include/sys/time.h b/usr/include/sys/time.h
index 7a2f8b9..98497e7 100644
--- a/usr/include/sys/time.h
+++ b/usr/include/sys/time.h
@@ -23,6 +23,7 @@
#undef FD_SET
#undef FD_CLR
#undef FD_ISSET
+#undef FD_SETSIZE
__extern void *memset(void *, int, size_t);
static inline void FD_ZERO(fd_set *__fdsetp)
@@ -45,6 +46,8 @@ static inline int FD_ISSET(int...