1 --- pspp-1.0.1/gl/fseterr.c~ 2017-07-16 00:06:38.000000000 +0200
2 +++ pspp-1.0.1/gl/fseterr.c 2018-10-21 17:00:26.932630785 +0200
4 /* Most systems provide FILE as a struct and the necessary bitmask in
5 <stdio.h>, because they need it for implementing getc() and putc() as
7 -#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
8 +#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
9 fp->_flags |= _IO_ERR_SEEN;
10 #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
11 /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */