From dfe2b4513ffb9b85a6c27733fc6b81ab92bd94f4 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Wed, 1 Jun 2005 09:34:37 +0000 Subject: [PATCH] Moved timing structs around to be more standard --- include/sys/asynchio.h | 2 -- include/time.h | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/sys/asynchio.h b/include/sys/asynchio.h index 3bde7128d..b80ac7d84 100755 --- a/include/sys/asynchio.h +++ b/include/sys/asynchio.h @@ -24,8 +24,6 @@ typedef struct { #define ASYN_NONBLOCK 0x01 -struct timeval { long tv_sec, tv_usec; }; - #define EINPROGRESS EINTR #define ASYN_INPROGRESS EINPROGRESS diff --git a/include/time.h b/include/time.h index 7e5a4b054..bc6022121 100755 --- a/include/time.h +++ b/include/time.h @@ -70,4 +70,7 @@ _PROTOTYPE( void tzset, (void) ); _PROTOTYPE( int stime, (time_t *_top) ); #endif +struct timeval { long tv_sec, tv_usec; }; +extern long timezone; + #endif /* _TIME_H */ -- 2.44.0