summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kexec/arch/i386/kexec-elf-x86.c1
-rw-r--r--kexec/arch/x86_64/kexec-elf-x86_64.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/kexec/arch/i386/kexec-elf-x86.c b/kexec/arch/i386/kexec-elf-x86.c
index 5a763bd..afa0eb5 100644
--- a/kexec/arch/i386/kexec-elf-x86.c
+++ b/kexec/arch/i386/kexec-elf-x86.c
@@ -18,6 +18,7 @@
*/
#define _GNU_SOURCE
+#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git a/kexec/arch/x86_64/kexec-elf-x86_64.c b/kexec/arch/x86_64/kexec-elf-x86_64.c
index 1bb054a..95ebef6 100644
--- a/kexec/arch/x86_64/kexec-elf-x86_64.c
+++ b/kexec/arch/x86_64/kexec-elf-x86_64.c
@@ -18,6 +18,7 @@
*/
#define _GNU_SOURCE
+#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>