summaryrefslogtreecommitdiff
path: root/libc/inet/socketcalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/socketcalls.c')
-rw-r--r--libc/inet/socketcalls.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/inet/socketcalls.c b/libc/inet/socketcalls.c
index db2da8c5b..983045cf7 100644
--- a/libc/inet/socketcalls.c
+++ b/libc/inet/socketcalls.c
@@ -1,3 +1,7 @@
+#ifdef L_recv
+#define recvfrom __recvfrom
+#endif
+
#define __FORCE_GLIBC
#include <features.h>
#include <errno.h>