summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--dbus/dbus-transport-unix.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6209e083..b73d6b99 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
2002-12-15 Harri Porten <porten@kde.org>
* autogen.sh: check for libtoolize before attempting to use it
+ * dbus/dbus-transport-unix.c: include <sys/time.h> for timeval struct.
2002-12-15 Havoc Pennington <hp@pobox.com>
diff --git a/dbus/dbus-transport-unix.c b/dbus/dbus-transport-unix.c
index 975bb71f..e603fc65 100644
--- a/dbus/dbus-transport-unix.c
+++ b/dbus/dbus-transport-unix.c
@@ -27,6 +27,7 @@
#include "dbus-transport-protected.h"
#include "dbus-watch.h"
#include <sys/types.h>
+#include <sys/time.h>
#include <unistd.h>