summaryrefslogtreecommitdiff
path: root/debian/patches/bootshell0010-fixup_bootshell.patch
blob: 133605c365b8b93333cba001092dc6a01057abd1 (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
40
41
42
43
From 06b93c0c5b0ed5ffbfdf35e58741a18e444b2d63 Mon Sep 17 00:00:00 2001
From: Justus Winter <4winter@informatik.uni-hamburg.de>
Date: Tue, 29 Sep 2015 17:17:21 +0200
Subject: [PATCH hurd 10/11] fixup_bootshell

---
 bootshell/fs.c   | 2 ++
 bootshell/main.c | 1 +
 2 files changed, 3 insertions(+)

diff --git a/bootshell/fs.c b/bootshell/fs.c
index 88536d8..89b6b9d 100644
--- a/bootshell/fs.c
+++ b/bootshell/fs.c
@@ -18,11 +18,13 @@
    along with the GNU Hurd.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include <assert.h>
+#include <error.h>
 #include <hurd.h>
 #include <mach.h>
 #include <mach/message.h>
 #include <pthread.h>
 #include <stdio.h>
+#include <string.h>
 
 // eek #include "fs_S.h"
 
diff --git a/bootshell/main.c b/bootshell/main.c
index 54685a7..f444abc 100644
--- a/bootshell/main.c
+++ b/bootshell/main.c
@@ -18,6 +18,7 @@
    along with the GNU Hurd.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include <argp.h>
+#include <argz.h>
 #include <assert.h>
 #include <ctype.h>
 #include <stdarg.h>
-- 
2.1.4