Signed-off-by: Stefan Weil <[email protected]>
---
test/utils.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test/utils.c b/test/utils.c
index ef0a171..c887a6d 100644
--- a/test/utils.c
+++ b/test/utils.c
@@ -694,6 +694,8 @@ get_random_seed (void)
return lcg_rand_u32 ();
}
+#ifdef HAVE_SIGACTION
+#ifdef HAVE_ALARM
static const char *global_msg;
static void
@@ -702,6 +704,8 @@ on_alarm (int signo)
printf ("%s\n", global_msg);
exit (1);
}
+#endif
+#endif
void
fail_after (int seconds, const char *msg)
--
1.7.10.4
_______________________________________________
Pixman mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pixman