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. ** Bug watch added: Red Hat Bugzilla #885306 https://bugzilla.redhat.com/show_bug.cgi?id=885306 ** Also affects: eglibc (Fedora) via https://bugzilla.redhat.com/show_bug.cgi?id=885306 Importance: Unknown Status: Unknown ** Package changed: eglibc (Ubuntu) => alsa-lib (Ubuntu) ** Also affects: alsa-lib (Fedora) via https://bugzilla.redhat.com/show_bug.cgi?id=885306 Importance: Unknown Status: Unknown ** No longer affects: eglibc (Fedora) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1109298 Title: [Regression] error when trying to compile a program which uses alsa/asoundlib.h with EGLIBC 2.17 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-lib/+bug/1109298/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
