Author: jerry Date: 2005-09-07 15:12:54 +0000 (Wed, 07 Sep 2005) New Revision: 10064
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10064 Log: BUG 3052: adding OpenBSD timespec patch from Steve Williams <[EMAIL PROTECTED]> Modified: branches/SAMBA_3_0/source/configure.in trunk/source/configure.in Changeset: Modified: branches/SAMBA_3_0/source/configure.in =================================================================== --- branches/SAMBA_3_0/source/configure.in 2005-09-07 14:57:55 UTC (rev 10063) +++ branches/SAMBA_3_0/source/configure.in 2005-09-07 15:12:54 UTC (rev 10064) @@ -958,7 +958,16 @@ #include <stdlib.h> #include <stddef.h> #endif -#include <time.h> +#if TIME_WITH_SYS_TIME +# include <sys/time.h> +# include <time.h> +#else +# if HAVE_SYS_TIME_H +# include <sys/time.h> +# else +# include <time.h> +# endif +#endif #if HAVE_AIO_H #include <aio.h> #endif Modified: trunk/source/configure.in =================================================================== --- trunk/source/configure.in 2005-09-07 14:57:55 UTC (rev 10063) +++ trunk/source/configure.in 2005-09-07 15:12:54 UTC (rev 10064) @@ -957,7 +957,16 @@ #include <stdlib.h> #include <stddef.h> #endif -#include <time.h> +#if TIME_WITH_SYS_TIME +# include <sys/time.h> +# include <time.h> +#else +# if HAVE_SYS_TIME_H +# include <sys/time.h> +# else +# include <time.h> +# endif +#endif #if HAVE_AIO_H #include <aio.h> #endif
