Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | From 0133a2b29d6f48d8e2bba6a3be581cdfa91311a6 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 8 Jan 2016 07:21:05 +0000 |
| 4 | Subject: [PATCH 26/32] crash01: Define _GNU_SOURCE |
| 5 | |
| 6 | Fixes musl build errors like |
| 7 | error: 'SA_NOMASK' undeclared (first use in this function) |
| 8 | |
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 10 | |
| 11 | Upstream-Status: Pending |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 12 | --- |
| 13 | testcases/misc/crash/crash01.c | 2 +- |
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 15 | |
| 16 | diff --git a/testcases/misc/crash/crash01.c b/testcases/misc/crash/crash01.c |
| 17 | index 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 | -- |
| 30 | 2.7.0 |
| 31 | |