summaryrefslogtreecommitdiff
path: root/debian/patches/exec.patch
blob: 9155e28850708b91ab150a9104e3b15f331ca2ba (plain)
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.  */