aboutsummaryrefslogtreecommitdiff
path: root/src/network/accept4.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/accept4.c')
-rw-r--r--src/network/accept4.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/network/accept4.c b/src/network/accept4.c
index 765a38ed..2e7d0c6b 100644
--- a/src/network/accept4.c
+++ b/src/network/accept4.c
@@ -21,3 +21,11 @@ int accept4(int fd, struct sockaddr *restrict addr, socklen_t *restrict len, int
__syscall(SYS_fcntl, ret, F_SETFL, O_NONBLOCK);
return ret;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif