aboutsummaryrefslogtreecommitdiff
path: root/src/misc/ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/ioctl.c')
-rw-r--r--src/misc/ioctl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/misc/ioctl.c b/src/misc/ioctl.c
index 35804f02..ce1d4f74 100644
--- a/src/misc/ioctl.c
+++ b/src/misc/ioctl.c
@@ -149,3 +149,11 @@ int ioctl(int fd, int req, ...)
}
return __syscall_ret(r);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif