diff options
author | Dan Winship <danw@src.gnome.org> | 2000-12-14 23:50:09 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-12-14 23:50:09 +0800 |
commit | c8335791bb229946de4398825383435f30e53670 (patch) | |
tree | 1b56b50c009a0ab0745a5cbee609019e7f4f2c00 /calendar/gui | |
parent | e347847bddce6d27a464444d143e94f6c5c4edf4 (diff) | |
download | gsoc2013-evolution-c8335791bb229946de4398825383435f30e53670.tar gsoc2013-evolution-c8335791bb229946de4398825383435f30e53670.tar.gz gsoc2013-evolution-c8335791bb229946de4398825383435f30e53670.tar.bz2 gsoc2013-evolution-c8335791bb229946de4398825383435f30e53670.tar.lz gsoc2013-evolution-c8335791bb229946de4398825383435f30e53670.tar.xz gsoc2013-evolution-c8335791bb229946de4398825383435f30e53670.tar.zst gsoc2013-evolution-c8335791bb229946de4398825383435f30e53670.zip |
#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
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/calendar-model.c | 12 |
1 files changed, 6 insertions, 6 deletions
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 <config.h> #include <math.h> -/* We need this for strptime. */ #include <ctype.h> -#define _XOPEN_SOURCE -#define __USE_XOPEN -#include <sys/time.h> -#undef _XOPEN_SOURCE -#undef __USE_XOPEN #include <time.h> #include <gnome.h> #include <cal-util/timeutil.h> #include "calendar-model.h" #include "calendar-commands.h" +/* We need this for strptime. */ +#define _XOPEN_SOURCE 500 +#define __USE_XOPEN +#include <sys/time.h> +#undef _XOPEN_SOURCE +#undef __USE_XOPEN /* Private part of the ECalendarModel structure */ |