diff --git a/libtransmission/bencode.c b/libtransmission/bencode.c index 63edf7b9d..4219f1e3a 100644 --- a/libtransmission/bencode.c +++ b/libtransmission/bencode.c @@ -19,6 +19,7 @@ #include #include +#include /* close() */ #include /* evbuffer */ @@ -26,6 +27,7 @@ #include "transmission.h" #include "bencode.h" +#include "fdlimit.h" /* tr_open_file_for_writing() */ #include "json.h" #include "list.h" #include "ptrarray.h"