I was able to build this without any code changes. There was a redefined
function because the configure script does not check the headers in the
gcc directory. Using the following line to configure sets the variable
and avoids the problem.
CFLAGS="-D_POSIX_SOURCE -DHAVE_MKFIFO" LDFLAGS="-lposix" ./configure
Tim