1 2 3 4 5 6 7 8 9 10 11 12 13 14
--- hurd-20040301.orig/exec/exec.c +++ hurd-20040301/exec/exec.c @@ -39,6 +39,11 @@ #include <sys/stat.h> #include <sys/param.h> #include <unistd.h> +#include <elf.h> + +#ifndef PT_GNU_STACK +#define PT_GNU_STACK 0x6474e551 +#endif mach_port_t procserver; /* Our proc port. */