termux-packages/x11-packages/transmission-gtk/transmission-2.94_libtransmission_fdlimit.c.patch

12 lines
439 B
Diff

diff -uNr transmission-2.94/libtransmission/fdlimit.c transmission-2.94.mod/libtransmission/fdlimit.c
--- transmission-2.94/libtransmission/fdlimit.c 2018-05-01 20:18:29.000000000 +0300
+++ transmission-2.94.mod/libtransmission/fdlimit.c 2018-10-06 01:38:32.818041397 +0300
@@ -11,6 +11,7 @@
#include <errno.h>
#include <inttypes.h>
#include <string.h>
+#include <sys/select.h>
#ifndef _WIN32
#include <sys/time.h> /* getrlimit */