xref: /netbsd-src/external/bsd/openldap/dist/contrib/ldapc++/src/ac/time.h (revision 274254cdae52594c1aa480a736aef78313d15c9c)
1 /* Generic time.h */
2 /* $OpenLDAP: pkg/ldap/contrib/ldapc++/src/ac/time.h,v 1.7.2.4 2008/02/11 23:26:38 kurt Exp $ */
3 /*
4  * Copyright 1998-2008 The OpenLDAP Foundation, Redwood City, California, USA
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms are permitted only
8  * as authorized by the OpenLDAP Public License.  A copy of this
9  * license is available at http://www.OpenLDAP.org/license.html or
10  * in file LICENSE in the top-level directory of the distribution.
11  */
12 
13 #ifndef _AC_TIME_H
14 #define _AC_TIME_H
15 
16 #ifdef TIME_WITH_SYS_TIME
17 # include <sys/time.h>
18 # include <time.h>
19 #elif defined HAVE_SYS_TIME_H
20 # include <sys/time.h>
21 # ifdef HAVE_SYS_TIMEB_H
22 #  include <sys/timeb.h>
23 # endif
24 #else
25 # include <time.h>
26 #endif
27 
28 #endif /* _AC_TIME_H */
29