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:
parent
ad524a56b7
commit
59a11f2efb
4 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue