commit | e1e6d3cb0a3987e7ce539c21c0c244e9a434080b | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed Sep 15 09:54:16 2021 -0700 |
committer | Gert Wollny <gw.fossdev@gmail.com> | Fri Sep 17 08:54:39 2021 +0000 |
tree | 63c74116f6e95965ce7c44a4c4fae387ac8901dd | |
parent | fb64b116e102d2f84d970ac1548d01cfa2cf944a [diff] |
Include sys/types.h in p_compiler.h p_compiler.h includes stdlib.h which, when compiling against glibc, transitively includes sys/types.h. The rest of the build relies on this include in order to provide the uint typedef. Musl's stdlib.h does not include sys/types.h, causing a missing definition of uint. Include sys/types.h directly in p_compiler.h. Signed-off-by: Colin Cross <ccross@android.com> Reviewed-by: Gert Wollny <gert.wollny@collabora.com>