diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-08 11:09:43 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-08 11:09:43 +0000 |
commit | 7838decc7ad078517b51d2aedbc51ac9261881c0 (patch) | |
tree | 78440a2df674ff40801d5cfa9f5225de05ab2822 | |
parent | ee05cc213a982db461f137db77f388a7e5b043e4 (diff) |
fix warnings when __NR_socketcall is not defined and building recv()
-rw-r--r-- | libc/inet/socketcalls.c | 4 |
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> |