poll.h: fix ordering
This commit is contained in:
parent
e64189f19d
commit
44a8e2bb4f
|
|
@ -41,10 +41,10 @@
|
|||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
#if HAVE_SYS_POLL_H
|
||||
# include <sys/poll.h>
|
||||
#elif HAVE_POLL_H
|
||||
#if HAVE_POLL_H
|
||||
# include <poll.h>
|
||||
#elif HAVE_SYS_POLL_H
|
||||
# include <sys/poll.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
|
|||
|
|
@ -37,10 +37,10 @@
|
|||
#include "tt_options.h"
|
||||
#include <stdio.h>
|
||||
#include "mp/mp_stream_socket.h"
|
||||
#if HAVE_SYS_POLL_H
|
||||
#include <sys/poll.h>
|
||||
#elif HAVE_POLL_H
|
||||
#if HAVE_POLL_H
|
||||
#include <poll.h>
|
||||
#elif HAVE_SYS_POLL_H
|
||||
#include <sys/poll.h>
|
||||
#endif
|
||||
#include <sys/socket.h>
|
||||
#include <fcntl.h>
|
||||
|
|
|
|||
|
|
@ -28,10 +28,10 @@
|
|||
#if HAVE_CONFIG_H
|
||||
#include <cde_config.h>
|
||||
#endif
|
||||
#if HAVE_SYS_POLL_H
|
||||
# include <sys/poll.h>
|
||||
#elif HAVE_POLL_H
|
||||
#if HAVE_POLL_H
|
||||
# include <poll.h>
|
||||
#elif HAVE_SYS_POLL_H
|
||||
# include <sys/poll.h>
|
||||
#endif
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
|||
|
|
@ -49,10 +49,10 @@
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#if HAVE_SYS_POLL_H
|
||||
# include <sys/poll.h>
|
||||
#elif HAVE_POLL_H
|
||||
#if HAVE_POLL_H
|
||||
# include <poll.h>
|
||||
#elif HAVE_SYS_POLL_H
|
||||
# include <sys/poll.h>
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
|
|
|
|||
|
|
@ -93,10 +93,10 @@ extern void unhide_hft_ring();
|
|||
|
||||
#if defined (SYSV) || defined (SVR4)
|
||||
|
||||
#if HAVE_SYS_POLL_H
|
||||
#include <sys/poll.h>
|
||||
#elif HAVE_POLL_H
|
||||
#if HAVE_POLL_H
|
||||
#include <poll.h>
|
||||
#elif HAVE_SYS_POLL_H
|
||||
#include <sys/poll.h>
|
||||
#endif
|
||||
|
||||
#include <sys/time.h>
|
||||
|
|
|
|||
Loading…
Reference in New Issue