aboutsummaryrefslogtreecommitdiff
path: root/src/mman/mprotect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mman/mprotect.c')
-rw-r--r--src/mman/mprotect.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mman/mprotect.c b/src/mman/mprotect.c
index 535787b9..7a66383c 100644
--- a/src/mman/mprotect.c
+++ b/src/mman/mprotect.c
@@ -11,3 +11,11 @@ int __mprotect(void *addr, size_t len, int prot)
}
weak_alias(__mprotect, mprotect);
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif