blob: f65fad12d4fccce5740ef507079f9086332a145d [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>
Brad Bishopd7bf8c12018-02-25 22:55:05 -050010
11Upstream-Status: Pending
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050012---
13 testcases/misc/crash/crash01.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/testcases/misc/crash/crash01.c b/testcases/misc/crash/crash01.c
17index 0574521..08a02e7 100644
18--- a/testcases/misc/crash/crash01.c
19+++ b/testcases/misc/crash/crash01.c
20@@ -49,7 +49,7 @@ stress test at the same time you run other tests, like a multi-user
21 benchmark.
22
23 */
24-
25+#define _GNU_SOURCE
26 #include <stdio.h>
27 #include <stdlib.h>
28 #include <string.h>
29--
302.7.0
31