summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>2010-03-16 03:33:04 +0100
committerRalf Habacker <ralf.habacker@freenet.de>2010-03-22 17:28:55 +0100
commit01d9d169f36fcbe4888a9c57173538cba57b2f68 (patch)
tree69d3c026ad98c392486fc35813934f914f3fe273 /test
parente183399391bb1740c2013b44b89c05cbad3796ea (diff)
downloaddbus-01d9d169f36fcbe4888a9c57173538cba57b2f68.tar.gz
Make more signal and locale interface use conditional.
Diffstat (limited to 'test')
-rw-r--r--test/test-segfault.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-segfault.c b/test/test-segfault.c
index bf4d964b..329a21fd 100644
--- a/test/test-segfault.c
+++ b/test/test-segfault.c
@@ -1,7 +1,9 @@
/* This is simply a process that segfaults */
#include <config.h>
#include <stdlib.h>
+#ifdef HAVE_SIGNAL_H
#include <signal.h>
+#endif
#ifdef HAVE_SETRLIMIT
#include <sys/resource.h>