Skip to content

Include sys/types.h in p_compiler.h

colincross requested to merge colincross/virglrenderer:musl_upstream into master

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

Merge request reports