Explorar o código

Peter S. Mazinger pointed out that I missed a spot. I should
stop applying patches by hand...

Eric Andersen %!s(int64=21) %!d(string=hai) anos
pai
achega
2427f9a510
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      libc/sysdeps/linux/common/syscalls.c

+ 3 - 1
libc/sysdeps/linux/common/syscalls.c

@@ -1721,13 +1721,15 @@ int getresuid (uid_t *ruid, uid_t *euid, uid_t *suid)
 #endif	
 
 //#define __NR_poll                     168
-#if defined(L_poll) && defined(__NR_poll)
+#ifdef L_poll
+#ifdef __NR_poll
 #include <sys/poll.h>
 _syscall3(int, poll, struct pollfd *, fds, unsigned long int, nfds, int, timeout);
 #else
 /* uClinux 2.0 doesn't have poll, emulate it using select */
 #include "poll.c"
 #endif
+#endif
 
 //#define __NR_nfsservctl               169
 //nfsservctl	EXTRA	nfsservctl	i:ipp	nfsservctl