[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Minios-devel] [UNIKRAFT/NEWLIB PATCH 14/16] Add syscall.h
Hello Costin,
Unfortunately even if i select libsyscall_shim i get the error "Provide alternative syscall.h header". Do i miss something?
Thank you.
Charalampos Mainas
From: Costin Lupu <costin.lupu@xxxxxxxxx>
Sent: Thursday, August 22, 2019 12:10 PM
To: minios-devel@xxxxxxxxxxxxx
Cc: Felipe Huici; Charalampos Mainas
Subject: [UNIKRAFT/NEWLIB PATCH 14/16] Add syscall.h
We simply redirect inclusion to our syscall.h header in syscall_shim library.
Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
---
include/sys/syscall.h | 5 +++++
include/syscall.h | 1 +
2 files changed, 6 insertions(+)
create mode 100644 include/sys/syscall.h
create mode 100644 include/syscall.h
diff --git a/include/sys/syscall.h b/include/sys/syscall.h
new file mode 100644
index 0000000..3e691a9
--- /dev/null
+++ b/include/sys/syscall.h
@@ -0,0 +1,5 @@
+#if CONFIG_LIBSYSCALL_SHIM
+#include <uk/syscall.h>
+#else
+#error "Provide alternative syscall.h header"
+#endif
diff --git a/include/syscall.h b/include/syscall.h
new file mode 100644
index 0000000..4c30578
--- /dev/null
+++ b/include/syscall.h
@@ -0,0 +1 @@
+#include <sys/syscall.h>
--
2.20.1
|
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|