summaryrefslogtreecommitdiff
path: root/kexec/arch
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/arch')
-rw-r--r--kexec/arch/i386/crashdump-x86.c1
-rw-r--r--kexec/arch/i386/kexec-x86-common.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/kexec/arch/i386/crashdump-x86.c b/kexec/arch/i386/crashdump-x86.c
index d4969c5..bbc0f35 100644
--- a/kexec/arch/i386/crashdump-x86.c
+++ b/kexec/arch/i386/crashdump-x86.c
@@ -20,6 +20,7 @@
*/
#define _XOPEN_SOURCE 600
+#define _BSD_SOURCE
#define _DEFAULT_SOURCE
#include <fcntl.h>
diff --git a/kexec/arch/i386/kexec-x86-common.c b/kexec/arch/i386/kexec-x86-common.c
index 484d712..b308e47 100644
--- a/kexec/arch/i386/kexec-x86-common.c
+++ b/kexec/arch/i386/kexec-x86-common.c
@@ -18,6 +18,7 @@
*/
#define _XOPEN_SOURCE 600
+#define _BSD_SOURCE
#define _DEFAULT_SOURCE
#include <fcntl.h>