xf86drm: include <limits.h> for PATH_MAX
authorFelix Janda <felix.janda@posteo.de>
Sat, 26 Sep 2015 06:08:43 +0000 (08:08 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 28 Sep 2015 16:59:55 +0000 (17:59 +0100)
fixes compilation error with musl libc and Solaris based platforms.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92082
Signed-off-by: Felix Janda <felix.janda@posteo.de>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
xf86drm.c

index a9f5c29..c1cab1b 100644 (file)
--- 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>