summaryrefslogtreecommitdiffstats
path: root/Include/myselect.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-09-28 22:05:22 (GMT)
committerGuido van Rossum <guido@python.org>1998-09-28 22:05:22 (GMT)
commit03dc5384d701ff378f1b9f934e6d8d3b3a8f570d (patch)
tree60103b347154ebedcf239a260345d17461b14f51 /Include/myselect.h
parente8afe516ab841977dd73a80bf4ed334781d25dda (diff)
downloadcpython-03dc5384d701ff378f1b9f934e6d8d3b3a8f570d.zip
cpython-03dc5384d701ff378f1b9f934e6d8d3b3a8f570d.tar.gz
cpython-03dc5384d701ff378f1b9f934e6d8d3b3a8f570d.tar.bz2
Move the #include of <sys/select> to *after* mytime.h (or <time.h>),
as this is the logical order of dependencies. Suggested by Jeff Rush.
Diffstat (limited to 'Include/myselect.h')
-rw-r--r--Include/myselect.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/myselect.h b/Include/myselect.h
index 53ea5e5..1b3a834 100644
--- a/Include/myselect.h
+++ b/Include/myselect.h
@@ -41,14 +41,14 @@ PERFORMANCE OF THIS SOFTWARE.
#ifdef HAVE_SYS_SELECT_H
-#include <sys/select.h>
-
#ifdef SYS_SELECT_WITH_SYS_TIME
#include "mytime.h"
#else /* !SYS_SELECT_WITH_SYS_TIME */
#include <time.h>
#endif /* !SYS_SELECT_WITH_SYS_TIME */
+#include <sys/select.h>
+
#else /* !HAVE_SYS_SELECT_H */
#ifdef USE_GUSI