Add stub for eventfd.

Warn if the enventfd() function is not implemented.

Signed-off-by: Jean-Christian de Rivaz <jc@eclis.ch>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
This commit is contained in:
Jean-Christian de Rivaz 2011-11-02 20:44:00 +01:00 committed by Bernhard Reutner-Fischer
parent 7ae07d4f02
commit d10475f823

View File

@ -92,6 +92,10 @@ make_stub(epoll_ctl)
make_stub(epoll_wait)
#endif
#if !defined __NR_eventfd && defined __UCLIBC_LINUX_SPECIFIC__
make_stub(eventfd)
#endif
#ifndef __NR_fdatasync
make_stub(fdatasync)
#endif