diff options
Diffstat (limited to 'calendar/gui/calendar-model.c')
-rw-r--r-- | calendar/gui/calendar-model.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c index 67904b451a..55f265390c 100644 --- a/calendar/gui/calendar-model.c +++ b/calendar/gui/calendar-model.c @@ -25,7 +25,6 @@ #include <config.h> #include <math.h> #include <ctype.h> -#include <time.h> #include <gnome.h> #include <cal-util/timeutil.h> #include "calendar-model.h" @@ -34,9 +33,11 @@ /* We need this for strptime. */ #define _XOPEN_SOURCE 500 #define __USE_XOPEN +#include <time.h> #include <sys/time.h> #undef _XOPEN_SOURCE #undef __USE_XOPEN + /* Private part of the ECalendarModel structure */ |