alsa-project/tinycompress pull request #19 was opened from jolivain: When compiling tinycompress with some libc other than glibc (e.g. musl libc), compilation fails with the following error: In file included from wave.c:11:0: /path/to/gcc/sysroot/usr/include/sound/asound.h:404:18: error: field 'trigger_tstamp' has incomplete type struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */ [...] According to POSIX, `struct timespec` is defined in `<time.h>`. See: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html This patch fixes this build failure by including `<time.h>` prior `<sound/asound.h>`. Note: the github master branch is currently not including the tag 1.2.8, which is why my pull-request is also showing commit 750ebbe. Request URL : https://github.com/alsa-project/tinycompress/pull/19 Patch URL : https://github.com/alsa-project/tinycompress/pull/19.patch Repository URL: https://github.com/alsa-project/tinycompress