According to the comment next to it, it is needed for gettimeofday().
NetWare doesn't have the gettimeofday() function. We had to implement
that functionality in a totally different way. Also, we do have a
version of sys/time.h on NetWare so I would just leave it if it didn't
conflict with some of the Winsock headers.
>>> Jeff Trawick <[EMAIL PROTECTED]> Friday, November 30, 2001
12:29:48 PM >>>
[EMAIL PROTECTED] writes:
> bnicholes 01/11/30 11:03:57
>
> Modified: misc/unix getuuid.c
> Log:
> Removed an unneeded header on NetWare
> #include <unistd.h> /* for getpid, gethostname */
> #include <stdlib.h> /* for rand, srand */
> +
> +#ifndef NETWARE
> #include <sys/time.h> /* for gettimeofday */
> +#endif
what does "unneeded" mean?
if you can include it without pain, please continue do so without
ifdef
if NETWARE doesn't have it, please use
#ifdef APR_HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
if NETWARE has it and sometimes needs to include it but it breaks
something here then more info is required to determine the correct fix
--
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
http://www.geocities.com/SiliconValley/Park/9289/
Born in Roswell... married an alien...