/* This is simply a process that segfaults */
#include <config.h>
#include <stdlib.h>
+#ifdef HAVE_SIGNAL_H
#include <signal.h>
+#endif
-#if !defined(DBUS_WIN) && !defined(DBUS_WINCE)
-#include <sys/time.h>
+#ifdef HAVE_SETRLIMIT
#include <sys/resource.h>
#endif
{
char *p;
-#if !defined(DBUS_WIN) && !defined(DBUS_WINCE)
+#if HAVE_SETRLIMIT
struct rlimit r = { 0, };
getrlimit (RLIMIT_CORE, &r);