1 $NetBSD: patch-src_net_address.h,v 1.1 2012/09/03 10:06:40 marino Exp $
3 Version 4.2.1 fixed FreeBSD by putting <sys/socket.h> in address.cpp and
4 removing <arpa/inet.h> which was Linux-specific.
5 However, DragonFly still choked on it with incomplete type errors. It
6 seems that upstream should have put <sys/socket.h> in address.h instead.
8 --- src/net/address.h.orig 2012-06-12 10:16:36.000000000 +0000
11 #include <QHostAddress>
12 #include <util/constants.h>
13 #include <ktorrent_export.h>
14 +#include <sys/socket.h>