[git commit nptl] ppoll: get NULL from stddef.h
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Sun Nov 22 08:37:56 UTC 2009
commit: http://git.uclibc.org/uClibc/commit/?id=03171505a2079ddbd58e9562dddf105349d9da5a
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
libc/sysdeps/linux/common/ppoll.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/libc/sysdeps/linux/common/ppoll.c b/libc/sysdeps/linux/common/ppoll.c
index c9efe8d..02c8013 100644
--- a/libc/sysdeps/linux/common/ppoll.c
+++ b/libc/sysdeps/linux/common/ppoll.c
@@ -20,10 +20,10 @@
#include <signal.h>
#include <sys/syscall.h>
#include <sys/poll.h>
+#define __need_NULL
+#include <stddef.h>
#if defined __NR_ppoll && defined __UCLIBC_LINUX_SPECIFIC__
-
-
int
ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout,
const sigset_t *sigmask)
@@ -39,5 +39,4 @@ ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout,
return INLINE_SYSCALL(ppoll, 5, fds, nfds, timeout, sigmask, _NSIG / 8);
}
libc_hidden_def(ppoll)
-
#endif
--
1.6.3.3
More information about the uClibc-cvs
mailing list