diff --git a/cde/lib/tt/bin/tttrace/tttrace.C b/cde/lib/tt/bin/tttrace/tttrace.C index 243d45521..a657aa61e 100644 --- a/cde/lib/tt/bin/tttrace/tttrace.C +++ b/cde/lib/tt/bin/tttrace/tttrace.C @@ -41,10 +41,10 @@ #include #include #include -#if HAVE_SYS_POLL_H -# include -#elif HAVE_POLL_H +#if HAVE_POLL_H # include +#elif HAVE_SYS_POLL_H +# include #endif #include #include diff --git a/cde/lib/tt/lib/mp/mp_stream_socket.C b/cde/lib/tt/lib/mp/mp_stream_socket.C index 3e034fbfe..274808569 100644 --- a/cde/lib/tt/lib/mp/mp_stream_socket.C +++ b/cde/lib/tt/lib/mp/mp_stream_socket.C @@ -37,10 +37,10 @@ #include "tt_options.h" #include #include "mp/mp_stream_socket.h" -#if HAVE_SYS_POLL_H -#include -#elif HAVE_POLL_H +#if HAVE_POLL_H #include +#elif HAVE_SYS_POLL_H +#include #endif #include #include diff --git a/cde/lib/tt/lib/tttk/tttk.C b/cde/lib/tt/lib/tttk/tttk.C index e351d6a57..7989fda94 100644 --- a/cde/lib/tt/lib/tttk/tttk.C +++ b/cde/lib/tt/lib/tttk/tttk.C @@ -28,10 +28,10 @@ #if HAVE_CONFIG_H #include #endif -#if HAVE_SYS_POLL_H -# include -#elif HAVE_POLL_H +#if HAVE_POLL_H # include +#elif HAVE_SYS_POLL_H +# include #endif #include #include diff --git a/cde/lib/tt/lib/util/tt_file_system.C b/cde/lib/tt/lib/util/tt_file_system.C index 4cab26ed4..c39e30699 100644 --- a/cde/lib/tt/lib/util/tt_file_system.C +++ b/cde/lib/tt/lib/util/tt_file_system.C @@ -49,10 +49,10 @@ #include #include #include -#if HAVE_SYS_POLL_H -# include -#elif HAVE_POLL_H +#if HAVE_POLL_H # include +#elif HAVE_SYS_POLL_H +# include #endif #include #include diff --git a/cde/programs/dtscreen/dtscreen.h b/cde/programs/dtscreen/dtscreen.h index 7f80759d9..ce74f1969 100644 --- a/cde/programs/dtscreen/dtscreen.h +++ b/cde/programs/dtscreen/dtscreen.h @@ -93,10 +93,10 @@ extern void unhide_hft_ring(); #if defined (SYSV) || defined (SVR4) -#if HAVE_SYS_POLL_H -#include -#elif HAVE_POLL_H +#if HAVE_POLL_H #include +#elif HAVE_SYS_POLL_H +#include #endif #include