summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/mprotect.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/mprotect.c b/libc/sysdeps/linux/common/mprotect.c
index 7eab338d0..5edabe0ff 100644
--- a/libc/sysdeps/linux/common/mprotect.c
+++ b/libc/sysdeps/linux/common/mprotect.c
@@ -9,4 +9,7 @@
#include "syscalls.h"
#include <sys/mman.h>
+
+#ifdef __NR_mprotect
_syscall3(int, mprotect, void *, addr, size_t, len, int, prot);
+#endif