diff options
author | Felix Janda <felix.janda@posteo.de> | 2015-09-26 08:08:43 +0200 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2015-09-28 17:59:55 +0100 |
commit | 4031dc17bb728850c9b079c8d5f9cc0a379b9d46 (patch) | |
tree | 47fac1768afd9fb3a61fcc52be40dd09d68ac1d9 /xf86drm.c | |
parent | f3c6740f0c27d98d16340396f1a15e10384f9284 (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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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> |