aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-model.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar-model.c')
-rw-r--r--calendar/gui/calendar-model.c4
1 files changed, 3 insertions, 1 deletions
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>