summaryrefslogtreecommitdiff
path: root/date.h
diff options
context:
space:
mode:
Diffstat (limited to 'date.h')
-rw-r--r--date.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/date.h b/date.h
index e32b4463b..37691d24a 100644
--- a/date.h
+++ b/date.h
@@ -1,5 +1,8 @@
/* $Id$ */
+#ifndef DATE_H
+#define DATE_H
+
/**
* 1 day is 74 ticks; _date_fract used to be uint16 and incremented by 885. On
* an overflow the new day begun and 65535 / 885 = 74.
@@ -52,3 +55,5 @@ extern DateFract _date_fract;
void SetDate(Date date);
void ConvertDateToYMD(Date date, YearMonthDay *ymd);
Date ConvertYMDToDate(Year year, Month month, Day day);
+
+#endif /* DATE_H */