Browse Source

fix warnings when __NR_socketcall is not defined and building recv()

Mike Frysinger 18 years ago
parent
commit
7838decc7a
1 changed files with 4 additions and 0 deletions
  1. 4 0
      libc/inet/socketcalls.c

+ 4 - 0
libc/inet/socketcalls.c

@@ -1,3 +1,7 @@
+#ifdef L_recv
+#define recvfrom __recvfrom
+#endif
+
 #define __FORCE_GLIBC
 #include <features.h>
 #include <errno.h>