blob: 58b8ed4d42447daaa43ee6fcdf637c36ca553985 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001From 0133a2b29d6f48d8e2bba6a3be581cdfa91311a6 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 8 Jan 2016 07:21:05 +0000
4Subject: [PATCH 26/32] crash01: Define _GNU_SOURCE
5
6Fixes musl build errors like
7error: 'SA_NOMASK' undeclared (first use in this function)
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 testcases/misc/crash/crash01.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/testcases/misc/crash/crash01.c b/testcases/misc/crash/crash01.c
15index 0574521..08a02e7 100644
16--- a/testcases/misc/crash/crash01.c
17+++ b/testcases/misc/crash/crash01.c
18@@ -49,7 +49,7 @@ stress test at the same time you run other tests, like a multi-user
19 benchmark.
20
21 */
22-
23+#define _GNU_SOURCE
24 #include <stdio.h>
25 #include <stdlib.h>
26 #include <string.h>
27--
282.7.0
29