summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2002-12-13 03:55:38 +0000
committerHavoc Pennington <hp@redhat.com>2002-12-13 03:55:38 +0000
commit271fa7fc335f332bb2be3beeef735334546c4957 (patch)
tree6c20f827eaa2575b6d94f0eaee5ce975c7061da8 /test
parentd4b870e7f91b7018524f7b85dc00b90cc64453bf (diff)
2002-12-12 Havoc Pennington <hp@pobox.com>
* dbus/dbus-transport-unix.c, dbus/dbus-server-unix.c: use the below new interfaces and include fewer system headers. * dbus/dbus-sysdeps.c (_dbus_read): new function (_dbus_write): new function (_dbus_write_two): new function (_dbus_connect_unix_socket): new function (_dbus_listen_unix_socket): new function * dbus/dbus-message-internal.h: change interfaces to use DBusString
Diffstat (limited to 'test')
-rw-r--r--test/watch.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/watch.c b/test/watch.c
index df26855c..161ae3a9 100644
--- a/test/watch.c
+++ b/test/watch.c
@@ -5,6 +5,9 @@
#include <dbus/dbus-list.h>
#undef DBUS_COMPILATION
+#include <sys/types.h>
+#include <unistd.h>
+
/* Cheesy main loop used in test programs. Any real app would use the
* GLib or Qt or other non-sucky main loops.
*/