From 7838decc7ad078517b51d2aedbc51ac9261881c0 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 8 Jan 2006 11:09:43 +0000 Subject: fix warnings when __NR_socketcall is not defined and building recv() --- libc/inet/socketcalls.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libc') 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 #include -- cgit v1.2.3