chiark / gitweb /
wip new states
[innduct.git] / include / portable / time.h
1 /*  $Id: time.h 4020 2000-10-03 01:27:13Z rra $
2 **
3 **  Portability wrapper around <time.h> and <sys/time.h>.
4 **
5 **  This header includes <time.h> and <sys/time.h> as applicable, handling
6 **  systems where one can't include both headers (per the autoconf manual).
7 */
8
9 #ifndef PORTABLE_TIME_H
10 #define PORTABLE_TIME_H 1
11
12 #include "config.h"
13
14 #if TIME_WITH_SYS_TIME
15 # include <sys/time.h>
16 # include <time.h>
17 #else
18 # if HAVE_SYS_TIME_H
19 #  include <sys/time.h>
20 # else
21 #  include <time.h>
22 # endif
23 #endif
24
25 #endif /* PORTABLE_TIME_H */