xref: /netbsd-src/external/bsd/openldap/dist/include/ac/time.h (revision 6a493d6bc668897c91594964a732d38505b70cbb)
1 /*	$NetBSD: time.h,v 1.1.1.3 2010/12/12 15:21:27 adam Exp $	*/
2 
3 /* Generic time.h */
4 /* OpenLDAP: pkg/ldap/include/ac/time.h,v 1.18.2.5 2010/04/13 20:22:52 kurt Exp */
5 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
6  *
7  * Copyright 1998-2010 The OpenLDAP Foundation.
8  * All rights reserved.
9  *
10  * Redistribution and use in source and binary forms, with or without
11  * modification, are permitted only as authorized by the OpenLDAP
12  * Public License.
13  *
14  * A copy of this license is available in file LICENSE in the
15  * top-level directory of the distribution or, alternatively, at
16  * <http://www.OpenLDAP.org/license.html>.
17  */
18 
19 #ifndef _AC_TIME_H
20 #define _AC_TIME_H
21 
22 #ifdef TIME_WITH_SYS_TIME
23 # include <sys/time.h>
24 # include <time.h>
25 #elif defined(HAVE_SYS_TIME_H)
26 # include <sys/time.h>
27 # ifdef HAVE_SYS_TIMEB_H
28 #  include <sys/timeb.h>
29 # endif
30 #else
31 # include <time.h>
32 #endif
33 
34 #endif /* _AC_TIME_H */
35