openbsd-ports/net/transmission/patches/patch-third-party_libutp_utp_h
naddy b813cb8b27 Update to 2.33 for various bug fixes and improvements.
Support for the uTP protocol is disabled because of pervasive unaligned
accesses in the corresponding code.
2011-09-23 09:12:32 +00:00

14 lines
381 B
Plaintext

$OpenBSD: patch-third-party_libutp_utp_h,v 1.1 2011/09/23 09:12:32 naddy Exp $
--- third-party/libutp/utp.h.orig Wed Sep 21 21:57:05 2011
+++ third-party/libutp/utp.h Wed Sep 21 21:57:39 2011
@@ -12,7 +12,9 @@
#pragma comment(lib,"ws2_32.lib")
#else
#include <stdlib.h>
+#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#endif