[PATCH] xf86drm: include <limits.h> for PATH_MAX

Felix Janda felix.janda at posteo.de
Fri Sep 25 23:08:43 PDT 2015


fixes compilation error with musl libc

Signed-off-by: Felix Janda <felix.janda at posteo.de>
---
 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 <stddef.h>
 #include <fcntl.h>
 #include <errno.h>
+#include <limits.h>
 #include <signal.h>
 #include <time.h>
 #include <sys/types.h>
-- 
2.4.6


More information about the dri-devel mailing list