[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT/MUSL PATCH 05/19] Add patch to fix missing include in synccall.c



wip: This patch adds fcntl.h in syncall.c in order to avoid
undeclared constant with libvfscore.

Signed-off-by: Gaulthier Gain <gaulthier.gain@xxxxxxxxx>
---
 .../0006-add-missing-include-for-synccall.patch    | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 patches/0006-add-missing-include-for-synccall.patch

diff --git a/patches/0006-add-missing-include-for-synccall.patch 
b/patches/0006-add-missing-include-for-synccall.patch
new file mode 100644
index 0000000..e4df542
--- /dev/null
+++ b/patches/0006-add-missing-include-for-synccall.patch
@@ -0,0 +1,28 @@
+From 780b17b1c675797fc9a5ee00383ea9a187e59aa0 Mon Sep 17 00:00:00 2001
+From: Gaulthier Gain <gaulthier.gain@xxxxxxxxx>
+Date: Fri, 11 Oct 2019 15:19:41 +0200
+Subject: [MUSL] [PATCH] Fix missing include header in syncall.c
+
+This patch includes fcntl.h in syncall.c in order
+to avoid undeclared constant with the libvfscore.
+
+Signed-off-by: Gaulthier Gain <gaulthier.gain@xxxxxxxxx>
+---
+ src/thread/synccall.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/thread/synccall.c b/src/thread/synccall.c
+index ba2f258..861d77d 100644
+--- a/src/thread/synccall.c
++++ b/src/thread/synccall.c
+@@ -4,6 +4,7 @@
+ #include <dirent.h>
+ #include <string.h>
+ #include <ctype.h>
++#include <fcntl.h>
+ #include "futex.h"
+ #include "atomic.h"
+ #include "../dirent/__dirent.h"
+-- 
+2.11.0
+
-- 
2.11.0


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.