summaryrefslogtreecommitdiff
path: root/xf86drm.c
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2015-09-26 08:08:43 +0200
committerEmil Velikov <emil.l.velikov@gmail.com>2015-09-28 17:59:55 +0100
commit4031dc17bb728850c9b079c8d5f9cc0a379b9d46 (patch)
tree47fac1768afd9fb3a61fcc52be40dd09d68ac1d9 /xf86drm.c
parentf3c6740f0c27d98d16340396f1a15e10384f9284 (diff)
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>
Diffstat (limited to 'xf86drm.c')
-rw-r--r--xf86drm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xf86drm.c b/xf86drm.c
index a9f5c294..c1cab1be 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>