about summary refs log tree commit diff
path: root/arch/arm/bits/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/bits/signal.h')
-rw-r--r--arch/arm/bits/signal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/bits/signal.h b/arch/arm/bits/signal.h
index 16f029b4..328388d4 100644
--- a/arch/arm/bits/signal.h
+++ b/arch/arm/bits/signal.h
@@ -1,5 +1,5 @@
 #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
- || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
+ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
 
 typedef struct {
 	unsigned long __regs[21];
@@ -23,7 +23,7 @@ typedef struct __ucontext {
 #define SA_RESETHAND  0x80000000
 #define SA_RESTORER   0x04000000
 
-#ifdef _GNU_SOURCE
+#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
 struct sigcontext
 {
 	unsigned long trap_no, error_code, oldmask;