Browse Source

Bernd Schmidt writes: The following patch is needed for libc to be able to emulate poll with ppoll.

Mike Frysinger 18 years ago
parent
commit
678a887f60
1 changed files with 3 additions and 0 deletions
  1. 3 0
      libc/sysdeps/linux/common/ppoll.c

+ 3 - 0
libc/sysdeps/linux/common/ppoll.c

@@ -22,6 +22,8 @@
 
 
 #ifdef __NR_ppoll
 #ifdef __NR_ppoll
 
 
+libc_hidden_proto(ppoll)
+
 # define __NR___libc_ppoll __NR_ppoll
 # define __NR___libc_ppoll __NR_ppoll
 static inline
 static inline
 _syscall4(int, __libc_ppoll, struct pollfd *, fds,
 _syscall4(int, __libc_ppoll, struct pollfd *, fds,
@@ -43,5 +45,6 @@ ppoll (struct pollfd *fds, nfds_t nfds, const struct timespec *timeout,
 
 
   return __libc_ppoll(fds, nfds, timeout, sigmask);
   return __libc_ppoll(fds, nfds, timeout, sigmask);
 }
 }
+libc_hidden_def(ppoll)
 
 
 #endif
 #endif