1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-11 14:23:23 +00:00

made it compile and run on SuSE5.2

This commit is contained in:
Gerhard Rieger 2008-10-12 12:01:00 +02:00
parent 75e643ad2d
commit b2d618438a
10 changed files with 95 additions and 21 deletions

12
filan.c
View file

@ -129,7 +129,17 @@ int filan_fd(int fd, FILE *outfile) {
{ /* see if data is available */
struct pollfd ufds;
ufds.fd = fd;
ufds.events = POLLIN|POLLPRI|POLLOUT|POLLRDNORM|POLLRDBAND|POLLWRNORM|POLLWRBAND
ufds.events = POLLIN|POLLPRI|POLLOUT
#ifdef POLLRDNORM
|POLLRDNORM
#endif
#ifdef POLLRDBAND
|POLLRDBAND
#endif
|POLLWRNORM
#ifdef POLLWRBAND
|POLLWRBAND
#endif
#ifdef POLLMSG
|POLLMSG
#endif