mirror of
https://github.com/python/cpython.git
synced 2025-11-13 15:40:05 +00:00
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.
This commit is contained in:
parent
e8afe516ab
commit
03dc5384d7
1 changed files with 2 additions and 2 deletions
|
|
@ -41,14 +41,14 @@ PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
#ifdef HAVE_SYS_SELECT_H
|
#ifdef HAVE_SYS_SELECT_H
|
||||||
|
|
||||||
#include <sys/select.h>
|
|
||||||
|
|
||||||
#ifdef SYS_SELECT_WITH_SYS_TIME
|
#ifdef SYS_SELECT_WITH_SYS_TIME
|
||||||
#include "mytime.h"
|
#include "mytime.h"
|
||||||
#else /* !SYS_SELECT_WITH_SYS_TIME */
|
#else /* !SYS_SELECT_WITH_SYS_TIME */
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#endif /* !SYS_SELECT_WITH_SYS_TIME */
|
#endif /* !SYS_SELECT_WITH_SYS_TIME */
|
||||||
|
|
||||||
|
#include <sys/select.h>
|
||||||
|
|
||||||
#else /* !HAVE_SYS_SELECT_H */
|
#else /* !HAVE_SYS_SELECT_H */
|
||||||
|
|
||||||
#ifdef USE_GUSI
|
#ifdef USE_GUSI
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue