00001 /* Generic time.h */ 00002 /* $OpenLDAP: pkg/ldap/contrib/ldapc++/src/ac/time.h,v 1.5 2004/01/01 18:15:23 kurt Exp $ */ 00003 /* 00004 * Copyright 1998-2004 The OpenLDAP Foundation, Redwood City, California, USA 00005 * All rights reserved. 00006 * 00007 * Redistribution and use in source and binary forms are permitted only 00008 * as authorized by the OpenLDAP Public License. A copy of this 00009 * license is available at http://www.OpenLDAP.org/license.html or 00010 * in file LICENSE in the top-level directory of the distribution. 00011 */ 00012 00013 #ifndef _AC_TIME_H 00014 #define _AC_TIME_H 00015 00016 #if TIME_WITH_SYS_TIME 00017 # include <sys/time.h> 00018 # include <time.h> 00019 #elif HAVE_SYS_TIME_H 00020 # include <sys/time.h> 00021 # ifdef HAVE_SYS_TIMEB_H 00022 # include <sys/timeb.h> 00023 # endif 00024 #else 00025 # include <time.h> 00026 #endif 00027 00028 #endif /* _AC_TIME_H */