apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: cvs commit: apr/misc/unix getuuid.c
Date Fri, 30 Nov 2001 19:29:48 GMT
bnicholes@apache.org 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 | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message