summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/include/sys/syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc-top-half/musl/include/sys/syscall.h')
-rw-r--r--libc-top-half/musl/include/sys/syscall.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libc-top-half/musl/include/sys/syscall.h b/libc-top-half/musl/include/sys/syscall.h
new file mode 100644
index 0000000..ceed6b5
--- /dev/null
+++ b/libc-top-half/musl/include/sys/syscall.h
@@ -0,0 +1,10 @@
+#ifndef _SYS_SYSCALL_H
+#define _SYS_SYSCALL_H
+
+#ifdef __wasilibc_unmodified_upstream /* WASI has no syscall */
+#include <bits/syscall.h>
+#else
+/* The generic syscall funtion is not yet implemented. */
+#endif
+
+#endif