openbsd-ports/net/transmission/patches/patch-libtransmission_peer-io_c
naddy dfdca83201 Major update to 2.11.
The GTK+ client is now named "transmission-gtk" and the -gui package has
been renamed to -gtk.
2010-10-21 21:52:51 +00:00

14 lines
386 B
Plaintext

$OpenBSD: patch-libtransmission_peer-io_c,v 1.1 2010/10/21 21:52:51 naddy Exp $
--- libtransmission/peer-io.c.orig Sat Oct 16 19:36:24 2010
+++ libtransmission/peer-io.c Sat Oct 16 19:36:55 2010
@@ -20,6 +20,9 @@
#ifdef WIN32
#include <winsock2.h>
#else
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
#include <arpa/inet.h> /* inet_ntoa */
#endif