Explicitly include sys/select.h for newer GCC

This commit is contained in:
joerg 2011-11-24 13:40:52 +00:00
parent 422a6c5a22
commit 3ad1596dc0
2 changed files with 14 additions and 1 deletions

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.13 2010/03/20 21:53:06 wiz Exp $
$NetBSD: distinfo,v 1.14 2011/11/24 13:40:52 joerg Exp $
SHA1 (ktorrent-3.3.tar.bz2) = 0c39e8963790f3bb9420389101fdd5d12f3e0c10
RMD160 (ktorrent-3.3.tar.bz2) = 3e1405ca4e6049635b2fc82b3cb616cec5fe1bea
Size (ktorrent-3.3.tar.bz2) = 2745995 bytes
SHA1 (patch-libbtcore_dht_rpcserver.cpp) = 00b5c9799cb55cde27d54f5d27dd7c9882b2668c

View file

@ -0,0 +1,12 @@
$NetBSD: patch-libbtcore_dht_rpcserver.cpp,v 1.1 2011/11/24 13:40:53 joerg Exp $
--- libbtcore/dht/rpcserver.cpp.orig 2011-11-24 02:12:17.000000000 +0000
+++ libbtcore/dht/rpcserver.cpp
@@ -22,6 +22,7 @@
#include <QThread>
#include <unistd.h>
#include <string.h>
+#include <sys/select.h>
#include <net/portlist.h>
#include <util/log.h>
#include <util/error.h>