udp: fix compilation for kernels/libc without recvmmsg
This commit is contained in:
parent
fafec1e053
commit
d386ed020a
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue