kr/beanstalkd — Issue #92: does not build on centos 5.7 (missing EPOLLRDHUP)
Author: kr
Created: 2012-01-31 08:32:36+00:00
State: open

From https://groups.google.com/d/topic/beanstalk-talk/A5lDdikbp24

```
cc -Wall -Werror -c -o conn.o conn.c
cc -Wall -Werror -c -o file.o file.c
cc -Wall -Werror -c -o heap.o heap.c
cc -Wall -Werror -c -o job.o job.c
cc -Wall -Werror -c -o ms.o ms.c
cc -Wall -Werror -c -o net.o net.c
cc -Wall -Werror -c -o port-linux.o port-linux.c
cc -Wall -Werror -c -o primes.o primes.c
cc -Wall -Werror -c -o prot.o prot.c
cc -Wall -Werror -c -o sd-daemon.o sd-daemon.c
cc -Wall -Werror -c -o sock-linux.o sock-linux.c
cc1: warnings being treated as errors
sock-linux.c: In function ‘sockinit’:
sock-linux.c:20: warning: implicit declaration of function ‘epoll_create1’
sock-linux.c: In function ‘sockwant’:
sock-linux.c:53: error: ‘EPOLLRDHUP’ undeclared (first use in this function)
sock-linux.c:53: error: (Each undeclared identifier is reported only once
sock-linux.c:53: error: for each function it appears in.)
sock-linux.c: In function ‘handle’:
sock-linux.c:94: error: ‘EPOLLRDHUP’ undeclared (first use in this function)
make: *** [sock-linux.o] Error 1
error: Bad exit status from /home/rpm.shared/tmp/rpm-tmp.81935
(%build)
```