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 <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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>