ssgLoadFLT.cxx missing <sys/types.h> include on MacOS X
Brought to you by:
sjbaker
When built on MacOS X 10.6, "src/ssg/ssgLoadFLT.cxx" fails to compile because it does not know about ushort and uint. It runs into this because none of the #included headers defines endianness.
While this should be handled by the autoconf framework, the attached patch conditionally pulls in <sys/types.h> which in return #includes <machine/endian.h> and friends, who provide BYTE_ORDER.
Include <sys types.h=""> on MacOS X
-- I should mention that I built the games/plib package from pkgsrc <http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/games/plib/> on snow leopard, not the "standalone" sources.