[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: commit: ldap/servers/slapd/back-bdb init.c



ando@OpenLDAP.org writes:
> Modified Files:
> 	init.c  1.223 -> 1.224
> Log Message:
> silence warning(s)
>
> +#ifdef HAVE_UTIME_H
> +#include <utime.h>
> +#endif /* HAVE_UTIME_H */

The Linux doc says utimes.h requires sys/types.h.
So I think this should be

#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif /* HAVE_SYS_TYPES_H */
#ifdef HAVE_UTIME_H
#include <utime.h>
#endif /* HAVE_UTIME_H */

or <ac/utime.h>.

-- 
Hallvard
For sale: Parachute. Never opened, used once, slightly stained.