From: Jaroslav Kysela Date: Thu, 12 Feb 2015 08:05:29 +0000 (+0100) Subject: udp: fix compilation for kernels/libc without recvmmsg X-Git-Tag: v4.1~355 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d386ed020a3c6945edd461adc938eb27ad879c50;p=thirdparty%2Ftvheadend.git udp: fix compilation for kernels/libc without recvmmsg --- diff --git a/src/udp.c b/src/udp.c index 8fcf03711..dd2498ff3 100644 --- a/src/udp.c +++ b/src/udp.c @@ -525,6 +525,9 @@ recvmmsg_i(int sockfd, struct mmsghdr *msgvec, #ifndef CONFIG_RECVMMSG +int recvmmsg(int sockfd, struct mmsghdr *msgvec, unsigned int vlen, + unsigned int flags, struct timespec *timeout); + int recvmmsg(int sockfd, struct mmsghdr *msgvec, unsigned int vlen, unsigned int flags, struct timespec *timeout)