From c8335791bb229946de4398825383435f30e53670 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 14 Dec 2000 15:50:09 +0000 Subject: #define this to 500, not nothing. Also, move this bit after the other * gui/calendar-model.c (_XOPEN_SOURCE): #define this to 500, not nothing. Also, move this bit after the other #includes to prevent potential messiness. svn path=/trunk/; revision=7008 --- calendar/gui/calendar-model.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'calendar/gui') diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c index 6cf6501910..beb9f338c8 100644 --- a/calendar/gui/calendar-model.c +++ b/calendar/gui/calendar-model.c @@ -24,19 +24,19 @@ #include #include -/* We need this for strptime. */ #include -#define _XOPEN_SOURCE -#define __USE_XOPEN -#include -#undef _XOPEN_SOURCE -#undef __USE_XOPEN #include #include #include #include "calendar-model.h" #include "calendar-commands.h" +/* We need this for strptime. */ +#define _XOPEN_SOURCE 500 +#define __USE_XOPEN +#include +#undef _XOPEN_SOURCE +#undef __USE_XOPEN /* Private part of the ECalendarModel structure */ -- cgit v1.2.3