dougm 01/11/30 14:26:54
Modified: misc/unix getuuid.c Log: moved APR_HAVE_SYS_TIME_H after include of apr.h so sys/time.h is included Revision Changes Path 1.16 +3 -4 apr/misc/unix/getuuid.c Index: getuuid.c =================================================================== RCS file: /home/cvs/apr/misc/unix/getuuid.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- getuuid.c 2001/11/30 21:22:38 1.15 +++ getuuid.c 2001/11/30 22:26:54 1.16 @@ -60,10 +60,6 @@ #include <unistd.h> /* for getpid, gethostname */ #include <stdlib.h> /* for rand, srand */ -#ifdef APR_HAVE_SYS_TIME -#include <sys/time.h> /* for gettimeofday */ -#endif - #include "apr.h" #include "apr_private.h" #include "apr_uuid.h" @@ -77,6 +73,9 @@ #endif #if APR_HAVE_NETDB_H #include <netdb.h> +#endif +#if APR_HAVE_SYS_TIME_H +#include <sys/time.h> /* for gettimeofday */ #endif #define NODE_LENGTH 6
