summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarri Porten <porten@kde.org>2002-12-15 13:12:36 +0000
committerHarri Porten <porten@kde.org>2002-12-15 13:12:36 +0000
commit616b81251c84919d3fcd24ebce00e7443c306aac (patch)
tree322e2b61f014445a493f63d95f1d7e82e3bcf198
parentdd1fcce2286844719bffd300a0267cfb2d1d4a36 (diff)
need to include <sys/time.h> explicitly for the timeval struct on my system
-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>