summaryrefslogtreecommitdiff
path: root/debian/patches/0002-exec-add-missing-includes.patch
blob: 42ee2243275509acc3ca26589f59537d4844b043 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From 8ff385da583ca493d80b688a277d3bbd16698f23 Mon Sep 17 00:00:00 2001
From: Justus Winter <4winter@informatik.uni-hamburg.de>
Date: Tue, 20 May 2014 16:02:59 +0200
Subject: [PATCH 02/11] exec: add missing includes

* exec/exec.c: Include mach/gnumach.h.
* exec/main.c: Include device/device.h.
---
 exec/exec.c | 1 +
 exec/main.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/exec/exec.c b/exec/exec.c
index b068f5e..2fc1e44 100644
--- a/exec/exec.c
+++ b/exec/exec.c
@@ -24,6 +24,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 
 #include "priv.h"
+#include <mach/gnumach.h>
 #include <hurd.h>
 #include <hurd/exec.h>
 #include <sys/stat.h>
diff --git a/exec/main.c b/exec/main.c
index 27f33b1..78faebd 100644
--- a/exec/main.c
+++ b/exec/main.c
@@ -21,6 +21,7 @@
 
 #include "priv.h"
 #include <error.h>
+#include <device/device.h>
 #include <hurd/paths.h>
 #include <hurd/startup.h>
 #include <argp.h>
-- 
2.0.0.rc2