[haiku-development] _IO_ferror_unlocked

In a few files that are part of gnulib, they check for
_IO_ferror_unlocked.  When trying to build any package that uses
gnulib (findutils, coreutils, m4, many others...) make fails on
fpurge.c and others that are checking for _IO_ferror_unlocked.  If I
add ' || defined __HAIKU__' it will then build.  Question for the list
is whether Haiku should be setting this somewhere?  Here's the
HaikuPorts ticket on this one:
http://ports.haiku-files.org/ticket/70
Checking findutils in the Haiku tree, seems fpurge.c and the others
aren't even being used?
-scottmc

Other related posts: