]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
udp: fix compilation for kernels/libc without recvmmsg
authorJaroslav Kysela <perex@perex.cz>
Thu, 12 Feb 2015 08:05:29 +0000 (09:05 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 12 Feb 2015 08:05:33 +0000 (09:05 +0100)
src/udp.c

index 8fcf0371132c713341a24d42e7cb5e59f9553aee..dd2498ff3a6d9a6a4228bf8a694b18bdb9cf9197 100644 (file)
--- 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)