[mini-os master] Include string.h before console.h

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[mini-os master] Include string.h before console.h

patchbot
commit 4618f30a95e848fbb14a5d3b04f19fef69881988
Author:     Wei Liu <[hidden email]>
AuthorDate: Wed Oct 4 14:51:26 2017 +0100
Commit:     Wei Liu <[hidden email]>
CommitDate: Wed Oct 4 14:57:56 2017 +0100

    Include string.h before console.h
   
    Starting from Xen commit af8d93564, it is required to include string.h
    before console.h.
   
    Signed-off-by: Wei Liu <[hidden email]>
    Reviewed-by: Samuel Thibault <[hidden email]>
---
 lib/sys.c   | 1 +
 lwip-arch.c | 1 +
 main.c      | 1 +
 3 files changed, 3 insertions(+)

diff --git a/lib/sys.c b/lib/sys.c
index b173bc8..23dc2a5 100644
--- a/lib/sys.c
+++ b/lib/sys.c
@@ -20,6 +20,7 @@
 
 #ifdef HAVE_LIBC
 #include <os.h>
+#include <string.h>
 #include <console.h>
 #include <sched.h>
 #include <events.h>
diff --git a/lwip-arch.c b/lwip-arch.c
index 154617b..21e941e 100644
--- a/lwip-arch.c
+++ b/lwip-arch.c
@@ -8,6 +8,7 @@
 
 #include <os.h>
 #include <time.h>
+#include <string.h>
 #include <console.h>
 #include <xmalloc.h>
 #include <lwip/sys.h>
diff --git a/main.c b/main.c
index 263364c..4e42f53 100644
--- a/main.c
+++ b/main.c
@@ -8,6 +8,7 @@
 #include <os.h>
 #include <kernel.h>
 #include <sched.h>
+#include <string.h>
 #include <console.h>
 #include <netfront.h>
 #include <pcifront.h>
--
generated by git-patchbot for /home/xen/git/mini-os.git#master

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog