Include <sys/poll.h> only if there is no <poll.h>
* pathtrace.c: Do not include <sys/poll.h> if <poll.h> is available. * stream.c: Likewise.
This commit is contained in:
parent
2b64034786
commit
d64a7e4755
@ -28,10 +28,9 @@
|
||||
|
||||
#include "defs.h"
|
||||
#include <sys/param.h>
|
||||
#ifdef HAVE_POLL_H
|
||||
#if defined HAVE_POLL_H
|
||||
# include <poll.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_POLL_H
|
||||
#elif defined HAVE_SYS_POLL_H
|
||||
# include <sys/poll.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user