diff options
Diffstat (limited to 'contrib/ldapc++/src/ac/time.h')
-rw-r--r-- | contrib/ldapc++/src/ac/time.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/contrib/ldapc++/src/ac/time.h b/contrib/ldapc++/src/ac/time.h new file mode 100644 index 0000000..d76dc22 --- /dev/null +++ b/contrib/ldapc++/src/ac/time.h @@ -0,0 +1,24 @@ +/* Generic time.h */ +/* $OpenLDAP$ */ +/* + * Copyright 1998-2022 The OpenLDAP Foundation, Redwood City, California, USA + * All rights reserved. + * + * Redistribution and use in source and binary forms are permitted only + * as authorized by the OpenLDAP Public License. A copy of this + * license is available at http://www.OpenLDAP.org/license.html or + * in file LICENSE in the top-level directory of the distribution. + */ + +#ifndef _AC_TIME_H +#define _AC_TIME_H + +#if defined HAVE_SYS_TIME_H +# include <sys/time.h> +# ifdef HAVE_SYS_TIMEB_H +# include <sys/timeb.h> +# endif +#endif +# include <time.h> + +#endif /* _AC_TIME_H */ |