]> git.sur5r.net Git - openldap/blob - contrib/ldapc++/src/ac/time.h
Merge remote-tracking branch 'origin/mdb.master'
[openldap] / contrib / ldapc++ / src / ac / time.h
1 /* Generic time.h */
2 /* $OpenLDAP$ */
3 /*
4  * Copyright 1998-2012 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 */