aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/calendar-model.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 2df1fbd84c..b3eceaeb22 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-26 Peter Williams <peterw@helixcode.com>
+
+ * gui/calendar-model.c: compile fix for Solaris
+ (works under Linux, too; don't know about others)
+
2000-07-26 Federico Mena Quintero <federico@helixcode.com>
OK, it seems that we have all the interesting properties for
diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c
index fbd0db7a6a..2337d70ffd 100644
--- a/calendar/gui/calendar-model.c
+++ b/calendar/gui/calendar-model.c
@@ -26,6 +26,9 @@
#include <config.h>
#include <ctype.h>
+#undef _XOPEN_SOURCE
+#include <sys/time.h>
+#define _XOPEN_SOURCE
#include <time.h>
#include <gtk/gtksignal.h>
#include <libgnomeui/gnome-messagebox.h>