Commit b2d1e22c authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/udp: fix build on MINIX

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 74760883
......@@ -647,7 +647,9 @@ static int udp_open(URLContext *h, const char *uri, int flags)
}
if (s->is_broadcast) {
#ifdef SO_BROADCAST
if (setsockopt (udp_fd, SOL_SOCKET, SO_BROADCAST, &(s->is_broadcast), sizeof(s->is_broadcast)) != 0)
#endif
goto fail;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment