Tweak devel/adime version 2.2.1_3
[dports.git] / net-p2p / libktorrent / dragonfly / patch-src_net_address.h
1 $NetBSD: patch-src_net_address.h,v 1.1 2012/09/03 10:06:40 marino Exp $
2
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.
7
8 --- src/net/address.h.orig      2012-06-12 10:16:36.000000000 +0000
9 +++ src/net/address.h
10 @@ -24,6 +24,7 @@
11  #include <QHostAddress>
12  #include <util/constants.h>
13  #include <ktorrent_export.h>
14 +#include <sys/socket.h>
15  
16  
17  namespace net