I noticed IPv6 support was being disabled on FreeBSD; it seems the
configure script needs netinet/in.h so in6_addr is known.
Signed-off-by: Jens Axboe <axboe@fb.com>
cat > $TMPC << EOF
#include <sys/types.h>
#include <sys/socket.h>
cat > $TMPC << EOF
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <stdio.h>
int main(int argc, char **argv)
#include <netdb.h>
#include <stdio.h>
int main(int argc, char **argv)