xf86drm: include <limits.h> for PATH_MAX

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>
main
Felix Janda 2015-09-26 08:08:43 +02:00 committed by Emil Velikov
parent f3c6740f0c
commit 4031dc17bb
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@
#include <stddef.h> #include <stddef.h>
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
#include <limits.h>
#include <signal.h> #include <signal.h>
#include <time.h> #include <time.h>
#include <sys/types.h> #include <sys/types.h>