home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ldapsdk.zip / include / ac / time.h < prev    next >
C/C++ Source or Header  |  2001-05-30  |  788b  |  30 lines

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