[PATCH] scanner: Fix building on musl
Kylie McClain
somasissounds at gmail.com
Wed Jun 22 23:48:07 UTC 2016
From: Kylie McClain <somasis at exherbo.org>
`uint` is defined in sys/types.h on musl libc.
Signed-off-by: Kylie McClain <somasis at exherbo.org>
---
src/scanner.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/scanner.c b/src/scanner.c
index 4708cae..48d6014 100644
--- a/src/scanner.c
+++ b/src/scanner.c
@@ -38,6 +38,7 @@
#include <getopt.h>
#include <limits.h>
#include <unistd.h>
+#include <sys/types.h>
#if HAVE_LIBXML
#include <libxml/parser.h>
--
2.9.0
More information about the wayland-devel
mailing list