chiark / gitweb /
Change version number to 4.0.
[disorder] / lib / dateparse.h
index 2f52dacf3baa448c992f35e17ff23afce9a3e2af..7b96fe9b0688996786074c86427c3a50efafc1b0 100644 (file)
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
  * USA
  */
-
 /** @file lib/dateparse.h
  * @brief Date parsing
  */
 
+#ifndef DATEPARSE_H
+#define DATEPARSE_H
+
+#include <time.h>
+
 time_t dateparse(const char *s);
 #if 0
 struct tm *xgetdate(const char *string,
@@ -31,6 +35,8 @@ int xgetdate_r(const char *string,
               struct tm *tp,
               const char *const *template);
 
+#endif /* DATEPARSE_H */
+
 /*
 Local Variables:
 c-basic-offset:2