From de9038c98494c7a330d0daf04ccacef4e14e7b98 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Wed, 7 Mar 2007 18:34:01 +0000 Subject: * bus/activation.c: win32 compile fix. * test/test-segfault.c: win32 compile fix, rlimit isn't available on win32. * dbus-win.patch: removed some more patches, they are applied or obsolate --- test/test-segfault.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/test-segfault.c b/test/test-segfault.c index 6a99131e..0b5a8dea 100644 --- a/test/test-segfault.c +++ b/test/test-segfault.c @@ -1,15 +1,14 @@ /* This is simply a process that segfaults */ +#include #include #include -#include -#include - int main (int argc, char **argv) { char *p; +#if !defined(DBUS_WIN) && !defined(DBUS_WINCE) struct rlimit r = { 0, }; getrlimit (RLIMIT_CORE, &r); @@ -17,7 +16,7 @@ main (int argc, char **argv) setrlimit (RLIMIT_CORE, &r); raise (SIGSEGV); - +#endif p = NULL; *p = 'a'; -- cgit