aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os/linux/mips.zig
diff options
context:
space:
mode:
authorN00byEdge <hannesbredberg@gmail.com>2021-07-30 19:04:18 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2021-08-02 11:05:05 +0000
commit934df5bd448e7e27f2142d0d9ceec534f391c7f5 (patch)
treebc6609f7fe68c2e946dfcf6c7a0f5337544e6c72 /lib/std/os/linux/mips.zig
parentb465037a65dd6a31c5865086ec4392a1d3a372bc (diff)
downloadzig-934df5bd448e7e27f2142d0d9ceec534f391c7f5.tar.gz
zig-934df5bd448e7e27f2142d0d9ceec534f391c7f5.zip
Make linux syscalls accessible with non-Linux target OS
Diffstat (limited to 'lib/std/os/linux/mips.zig')
-rw-r--r--lib/std/os/linux/mips.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/os/linux/mips.zig b/lib/std/os/linux/mips.zig
index a04a592f3b..2ac029cae8 100644
--- a/lib/std/os/linux/mips.zig
+++ b/lib/std/os/linux/mips.zig
@@ -4,6 +4,7 @@
// The MIT license requires this copyright notice to be included in all copies
// and substantial portions of the software.
usingnamespace @import("../bits.zig");
+usingnamespace @import("../bits/linux.zig");
pub fn syscall0(number: SYS) usize {
return asm volatile (