1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-05 12:46:32 +00:00

Include <poll.h> instead of <sys/poll.h>

This commit is contained in:
Gerhard Rieger 2015-01-12 22:22:38 +01:00
parent ad524a56b7
commit 59a11f2efb
4 changed files with 11 additions and 2 deletions

View file

@ -54,7 +54,9 @@
#if HAVE_SYS_TYPES_H
#include <sys/types.h> /* pid_t, select(), socket(), connect(), open(), u_short */
#endif
#if HAVE_SYS_POLL_H
#if HAVE_POLL_H
#include <poll.h> /* poll() */
#elif HAVE_SYS_POLL_H
#include <sys/poll.h> /* poll() */
#endif
#if HAVE_SYS_SOCKET_H