coar 99/10/29 14:29:59
Modified: src/modules/standard mod_usertrack.c Log: More in the continuing saga of nitfixes from the Netware update. I *think* this does this trick, but I don't build on either Windows or Netware. At least mod_usertrack compiles on Linux now.. Revision Changes Path 1.43 +4 -1 apache-1.3/src/modules/standard/mod_usertrack.c Index: mod_usertrack.c =================================================================== RCS file: /home/cvs/apache-1.3/src/modules/standard/mod_usertrack.c,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- mod_usertrack.c 1999/10/28 18:10:55 1.42 +++ mod_usertrack.c 1999/10/29 21:29:53 1.43 @@ -135,10 +135,13 @@ #if defined(NO_GETTIMEOFDAY) && !defined(NO_TIMES) clock_t mpe_times; struct tms mpe_tms; -#elif !defined(WIN32) && !defined(NETWARE) +#elif !defined(WIN32) struct timeval tv; +#ifdef NETWARE time_t tz = 0; +#else struct timezone tz = {0, 0}; +#endif /* defined(NETWARE) */ #endif /* 1024 == hardcoded constant */ char cookiebuf[1024];