[icecast-dev] [PATCH] Solaris needs sys/types.h for uint32_t
daleg at elemental.org
Tue Mar 9 10:09:24 PST 2004
On Mar 9, 2004, at 12:33 PM, Ralph Giles wrote:
> Doesn't solaris also provide them in inttypes.h? maybe this would be
> more appropriate (in
You are correct, sir. Solaris does indeed have inttypes.h, which
includes sys/inttypes.h, which then includes sys/int_types.h, which
defines uint32_t :)
The AC_HEADER_STDC macro already looks for inittypes.h, so all we
needed to do is add the ifdef to compat.h to include it.
Attached is a patch with the necessary changes to src/compat.h, which
pretty much mirrors your suggestion.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 532 bytes
Url : http://lists.xiph.org/pipermail/icecast-dev/attachments/20040309/890dbf43/uint32-compat.obj
More information about the Icecast-dev