Explorar o código

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

Mike Frysinger %!s(int64=18) %!d(string=hai) anos
pai
achega
7838decc7a
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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>