- --- a/libtransmission/bitfield.c
- +++ b/libtransmission/bitfield.c
- @@ -7,6 +7,8 @@
- * $Id: bitfield.c 14646 2015-12-31 05:22:42Z mikedld $
- */
-
- +#define __NEED_ssize_t
- +
- #include <assert.h>
- #include <string.h> /* memset */
-
- @@ -14,6 +16,7 @@
- #include "bitfield.h"
- #include "utils.h" /* tr_new0 () */
-
- +
- const tr_bitfield TR_BITFIELD_INIT = { NULL, 0, 0, 0, false, false };
-
- /****
- --- a/libtransmission/fdlimit.h
- +++ b/libtransmission/fdlimit.h
- @@ -11,6 +11,8 @@
- #error only libtransmission should #include this header.
- #endif
-
- +#define __NEED_off_t
- +
- #include "transmission.h"
- #include "file.h"
- #include "net.h"
|