summaryrefslogtreecommitdiffstats
path: root/test/watch.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/watch.c')
-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.
*/