[icecast-dev] [PATCH] Solaris needs sys/types.h for uint32_t

Dale Ghent 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
> compat.h):

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.

Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uint32-compat.patch
Type: application/octet-stream
Size: 532 bytes
Desc: uint32-compat.patch
Url : http://lists.xiph.org/pipermail/icecast-dev/attachments/20040309/890dbf43/uint32-compat.obj


More information about the Icecast-dev mailing list