소스 검색

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

Mike Frysinger 18 년 전
부모
커밋
7838decc7a
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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>