]> granicus.if.org Git - python/commitdiff
Move the #include of <sys/select> to *after* mytime.h (or <time.h>),
authorGuido van Rossum <guido@python.org>
Mon, 28 Sep 1998 22:05:22 +0000 (22:05 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 28 Sep 1998 22:05:22 +0000 (22:05 +0000)
as this is the logical order of dependencies.  Suggested by Jeff Rush.

Include/myselect.h

index 53ea5e561226b3a26056e80a9f0d61c82499cd1e..1b3a8348736472f41888f4e2c8d65c44fc132646 100644 (file)
@@ -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