diff options
Diffstat (limited to 'ext/date/lib/timelib.h')
| -rw-r--r-- | ext/date/lib/timelib.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/date/lib/timelib.h b/ext/date/lib/timelib.h index 347c5213d8..53bd5c72f7 100644 --- a/ext/date/lib/timelib.h +++ b/ext/date/lib/timelib.h @@ -18,6 +18,9 @@ /* $Id$ */ +#ifndef __TIMELIB_H__ +#define __TIMELIB_H__ + #include "timelib_structs.h" #define TIMELIB_NONE 0x00 @@ -31,7 +34,6 @@ #define LONG_MIN (- LONG_MAX - 1) #endif - /* From dow.c */ timelib_sll timelib_day_of_week(timelib_sll y, timelib_sll m, timelib_sll d); timelib_sll timelib_daynr_from_weeknr(timelib_sll y, timelib_sll w, timelib_sll d); @@ -71,3 +73,4 @@ void timelib_time_offset_dtor(timelib_time_offset* t); signed long timelib_date_to_int(timelib_time *d, int *error); void timelib_dump_date(timelib_time *d, int options); +#endif |
