summaryrefslogtreecommitdiff
path: root/include/sys/syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/syscall.h')
-rw-r--r--include/sys/syscall.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sys/syscall.h b/include/sys/syscall.h
index 901941aa..154e5ab5 100644
--- a/include/sys/syscall.h
+++ b/include/sys/syscall.h
@@ -4,6 +4,10 @@
extern "C" {
#endif
+#if __STDC_VERSION__ >= 199901L || defined(__cplusplus)
+#define __inline inline
+#endif
+
long __syscall_ret(unsigned long);
long __syscall(long, ...);
long syscall(long, ...);