Commit d26304d2 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Rafaël Carré

configure: include sys/socket.h when checking HAVE_INET_PTON

AF_INET is defined in sys/socket.h
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent 2f0e36e7
......@@ -595,6 +595,7 @@ AC_LINK_IFELSE([
AC_LANG_PROGRAM([#ifdef WIN32
#include <ws2tcpip.h>
#else
#include <sys/socket.h>
#include <arpa/inet.h>
#endif], [
char dst[[sizeof(struct in_addr)]];
......
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