Comment 2 for bug 1109298

Revision history for this message
Adam Conrad (adconrad) wrote :

It could be a bit more interesting than just "include some more headers" for the proper upstream fix:

#if defined __USE_SVID || defined __USE_XOPEN_EXTENDED || defined __USE_BSD
# include <sys/types.h> /* we need int32_t... */

stdlib.h *does* include sys/types.h, but only under certain conditions. It's entirely plausible that those conditions aren't being met by alsa which, previously, may have been mistakenly making use of sysv/xopen extensions without declaring so, but some other part of the toolchain picked up the slack and papered over it.