4f14d0d0dd0126b4f531b8587d4ae7ffb1555f96
[oota-llvm.git] / include / llvm / Config / time.h
1 /*
2  * Header file: time.h
3  *
4  * Description:
5  *      This header file is the autoconf replacement for time.h (if it lives
6  *      on the system).
7  *
8  *      The added benefit of this header file is that it removes the
9  *      "time with sys/time" problem.
10  *
11  *      According to the autoconf manual, some systems have a sys/time.h that
12  *      includes time.h, but time.h is not written to handle multiple
13  *      inclusion.  This means that a program including sys/time.h cannot
14  *      also include time.h.
15  *
16  *      This header file fixes that problem.
17  */
18
19 #ifndef _CONFIG_TIME_H
20 #define _CONFIG_TIME_H
21
22 #include "Config/config.h"
23
24 #ifdef HAVE_TIME_H
25 #include <time.h>
26 #endif
27
28 #endif