summaryrefslogtreecommitdiffstats
path: root/Modules/timemodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-06-23 09:07:03 (GMT)
committerGuido van Rossum <guido@python.org>1992-06-23 09:07:03 (GMT)
commited233a56963233bbd646fdac01e55c9fdec50a30 (patch)
tree590cee6874280421f9288568015bf9b30326b8ed /Modules/timemodule.c
parent5dc8eb0914a6fcea604a6626af9e63120e84b527 (diff)
downloadcpython-ed233a56963233bbd646fdac01e55c9fdec50a30.zip
cpython-ed233a56963233bbd646fdac01e55c9fdec50a30.tar.gz
cpython-ed233a56963233bbd646fdac01e55c9fdec50a30.tar.bz2
Changes for new UNIX-specific built-in module 'select' and new header for
interfaces to variants of select() system call, "myselect.h". This includes adding fileno() methods to files, sockets and stdwin.
Diffstat (limited to 'Modules/timemodule.c')
-rw-r--r--Modules/timemodule.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c
index d969b3f..4a921f0 100644
--- a/Modules/timemodule.c
+++ b/Modules/timemodule.c
@@ -68,14 +68,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <errno.h>
#endif
-#ifdef _SEQUENT_
-#include <sys/select.h>
-struct timezone {
- int tz_minuteswest;
- int tz_dsttime;
-};
-#endif
-
/* Time methods */
static object *
@@ -285,10 +277,7 @@ millitimer()
#ifdef BSD_TIME
-#ifdef _AIX /* I *think* this works */
-/* AIX defines fd_set in a separate file. Sigh... */
-#include <sys/select.h>
-#endif
+#include "myselect.h" /* Implies <sys/types.h>, <sys/time.h>, <sys/param.h> */
long
millitimer()