xf86drm: include <limits.h> for PATH_MAX
diff mbox

Message ID 20150926060843.GA6065@nyan
State New
Headers show

Commit Message

Felix Janda Sept. 26, 2015, 6:08 a.m. UTC
fixes compilation error with musl libc

Signed-off-by: Felix Janda <felix.janda@posteo.de>
---
 xf86drm.c | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox

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>