1 /* $NetBSD: time.h,v 1.3 2021/08/14 16:14:50 christos Exp $ */ 2 3 /* Generic time.h */ 4 /* $OpenLDAP$ */ 5 /* 6 * Copyright 1998-2021 The OpenLDAP Foundation, Redwood City, California, USA 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms are permitted only 10 * as authorized by the OpenLDAP Public License. A copy of this 11 * license is available at http://www.OpenLDAP.org/license.html or 12 * in file LICENSE in the top-level directory of the distribution. 13 */ 14 15 #ifndef _AC_TIME_H 16 #define _AC_TIME_H 17 18 #ifdef TIME_WITH_SYS_TIME 19 # include <sys/time.h> 20 # include <time.h> 21 #elif defined HAVE_SYS_TIME_H 22 # include <sys/time.h> 23 # ifdef HAVE_SYS_TIMEB_H 24 # include <sys/timeb.h> 25 # endif 26 #else 27 # include <time.h> 28 #endif 29 30 #endif /* _AC_TIME_H */ 31