&buffer[i], e and vblank have been pointers of different types but
refering to the same memory location, thus breaking the strict
aliasing rules.
Fix this by working exclusively with pointers to char.
Signed-off-by: Felix Janda
---
xf86drmMode.c | 40 ---
fixes compilation error with musl libc
Signed-off-by: Felix Janda
---
xf86drm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/xf86drm.c b/xf86drm.c
index a9f5c29..c1cab1b 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -45,6 +45,7 @@
#include
#include
#include
+#include
#include