summaryrefslogtreecommitdiff
path: root/test/test-segfault.c
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2007-03-07 19:09:57 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2007-03-07 19:09:57 +0000
commit42fe5c9341e9493ed94b319bb00063f432dd0673 (patch)
tree5d4d171d9fd408b7fe6482de04db452342b444e8 /test/test-segfault.c
parentde9038c98494c7a330d0daf04ccacef4e14e7b98 (diff)
downloaddbus-42fe5c9341e9493ed94b319bb00063f432dd0673.tar.gz
* test/test-segfault.c: unix compile fix.
* dbus-win.patch: removed obsolate patch.
Diffstat (limited to 'test/test-segfault.c')
-rw-r--r--test/test-segfault.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test-segfault.c b/test/test-segfault.c
index 0b5a8dea..dd1c87fe 100644
--- a/test/test-segfault.c
+++ b/test/test-segfault.c
@@ -3,6 +3,11 @@
#include <stdlib.h>
#include <signal.h>
+#if !defined(DBUS_WIN) && !defined(DBUS_WINCE)
+#include <sys/time.h>
+#include <sys/resource.h>
+#endif
+
int
main (int argc, char **argv)
{