aboutsummaryrefslogtreecommitdiff
path: root/exec
diff options
context:
space:
mode:
Diffstat (limited to 'exec')
-rw-r--r--exec/elfcore.c2
-rw-r--r--exec/exec.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/exec/elfcore.c b/exec/elfcore.c
index 2dd499bf..5f489a1e 100644
--- a/exec/elfcore.c
+++ b/exec/elfcore.c
@@ -27,6 +27,7 @@
#include <sys/utsname.h>
#include <sys/procfs.h>
#include <stddef.h>
+#include <alloca.h>
#define ELF_CLASS PASTE (ELFCLASS, __ELF_NATIVE_CLASS)
#define PASTE(a, b) PASTE_1 (a, b)
@@ -40,6 +41,7 @@
#endif
#include <mach/thread_status.h>
+#include <mach/vm_param.h>
#include <assert-backtrace.h>
#ifdef i386_THREAD_STATE
diff --git a/exec/exec.c b/exec/exec.c
index e9590911..b03c7fdb 100644
--- a/exec/exec.c
+++ b/exec/exec.c
@@ -25,6 +25,7 @@
#include "priv.h"
#include <mach/gnumach.h>
+#include <mach/vm_param.h>
#include <hurd.h>
#include <hurd/exec.h>
#include <sys/stat.h>