aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Janda2015-09-26 01:08:43 -0500
committerEmil Velikov2015-09-28 11:59:55 -0500
commit4031dc17bb728850c9b079c8d5f9cc0a379b9d46 (patch)
tree47fac1768afd9fb3a61fcc52be40dd09d68ac1d9 /xf86drm.c
parentf3c6740f0c27d98d16340396f1a15e10384f9284 (diff)
downloadexternal-libdrm-4031dc17bb728850c9b079c8d5f9cc0a379b9d46.tar.gz
external-libdrm-4031dc17bb728850c9b079c8d5f9cc0a379b9d46.tar.xz
external-libdrm-4031dc17bb728850c9b079c8d5f9cc0a379b9d46.zip
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 @@
45#include <stddef.h> 45#include <stddef.h>
46#include <fcntl.h> 46#include <fcntl.h>
47#include <errno.h> 47#include <errno.h>
48#include <limits.h>
48#include <signal.h> 49#include <signal.h>
49#include <time.h> 50#include <time.h>
50#include <sys/types.h> 51#include <sys/types.h>