poll.h: fix ordering

This commit is contained in:
Chase
2025-11-30 09:42:06 -05:00
committed by Jon Trulson
parent e64189f19d
commit 44a8e2bb4f
5 changed files with 15 additions and 15 deletions

View File

@@ -41,10 +41,10 @@
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <signal.h> #include <signal.h>
#if HAVE_SYS_POLL_H #if HAVE_POLL_H
# include <sys/poll.h>
#elif HAVE_POLL_H
# include <poll.h> # include <poll.h>
#elif HAVE_SYS_POLL_H
# include <sys/poll.h>
#endif #endif
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>

View File

@@ -37,10 +37,10 @@
#include "tt_options.h" #include "tt_options.h"
#include <stdio.h> #include <stdio.h>
#include "mp/mp_stream_socket.h" #include "mp/mp_stream_socket.h"
#if HAVE_SYS_POLL_H #if HAVE_POLL_H
#include <sys/poll.h>
#elif HAVE_POLL_H
#include <poll.h> #include <poll.h>
#elif HAVE_SYS_POLL_H
#include <sys/poll.h>
#endif #endif
#include <sys/socket.h> #include <sys/socket.h>
#include <fcntl.h> #include <fcntl.h>

View File

@@ -28,10 +28,10 @@
#if HAVE_CONFIG_H #if HAVE_CONFIG_H
#include <cde_config.h> #include <cde_config.h>
#endif #endif
#if HAVE_SYS_POLL_H #if HAVE_POLL_H
# include <sys/poll.h>
#elif HAVE_POLL_H
# include <poll.h> # include <poll.h>
#elif HAVE_SYS_POLL_H
# include <sys/poll.h>
#endif #endif
#include <errno.h> #include <errno.h>
#include <unistd.h> #include <unistd.h>

View File

@@ -49,10 +49,10 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#if HAVE_SYS_POLL_H #if HAVE_POLL_H
# include <sys/poll.h>
#elif HAVE_POLL_H
# include <poll.h> # include <poll.h>
#elif HAVE_SYS_POLL_H
# include <sys/poll.h>
#endif #endif
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>

View File

@@ -93,10 +93,10 @@ extern void unhide_hft_ring();
#if defined (SYSV) || defined (SVR4) #if defined (SYSV) || defined (SVR4)
#if HAVE_SYS_POLL_H #if HAVE_POLL_H
#include <sys/poll.h>
#elif HAVE_POLL_H
#include <poll.h> #include <poll.h>
#elif HAVE_SYS_POLL_H
#include <sys/poll.h>
#endif #endif
#include <sys/time.h> #include <sys/time.h>