aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog4
-rw-r--r--calendar/gui/calendar-model.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index bc67f54196..e3a4730aa6 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,7 @@
+2001-02-05 Christopher James Lahey <clahey@helixcode.com>
+
+ * gui/calendar-model.c: Fixed up these #includes.
+
2001-02-03 Federico Mena Quintero <federico@ximian.com>
* gui/dialogs/save-comp.c (save_component_dialog):
diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c
index 41af522846..3e4e41ea45 100644
--- a/calendar/gui/calendar-model.c
+++ b/calendar/gui/calendar-model.c
@@ -25,6 +25,9 @@
#include <config.h>
+#include <math.h>
+#include <sys/types.h>
+
/* We need this for strptime. */
#define _XOPEN_SOURCE 500
#define __USE_XOPEN
@@ -33,7 +36,6 @@
#undef _XOPEN_SOURCE
#undef __USE_XOPEN
-#include <math.h>
#include <ctype.h>
#include <glib.h>
#include <libgnome/gnome-defs.h>