summaryrefslogtreecommitdiff
path: root/libc/inet
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-08 11:09:43 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-08 11:09:43 +0000
commit7838decc7ad078517b51d2aedbc51ac9261881c0 (patch)
tree78440a2df674ff40801d5cfa9f5225de05ab2822 /libc/inet
parentee05cc213a982db461f137db77f388a7e5b043e4 (diff)
fix warnings when __NR_socketcall is not defined and building recv()
Diffstat (limited to 'libc/inet')
-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>