--- ./lib/freading.c.orig 2021-11-10 19:59:55.538541462 +0100 +++ ./lib/freading.c 2021-11-10 20:00:12.808525987 +0100 @@ -14,6 +14,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#include +#include + #include /* Specification. */ --- ./lib/stdio-impl.h.orig 2021-11-10 19:59:05.885252656 +0100 +++ ./lib/stdio-impl.h 2021-11-10 19:59:26.848567182 +0100 @@ -27,6 +27,8 @@ #endif #include /* For detecting Plan9. */ +#include +#include #if defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */