Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
udp: fix compilation for kernels/libc without recvmmsg
  • Loading branch information
perexg committed Feb 12, 2015
1 parent fafec1e commit d386ed0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/udp.c
Expand Up @@ -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)
Expand Down

0 comments on commit d386ed0

Please sign in to comment.