summaryrefslogtreecommitdiffstats
path: root/src/blueshift_drm_c.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/blueshift_drm_c.h')
-rw-r--r--src/blueshift_drm_c.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/blueshift_drm_c.h b/src/blueshift_drm_c.h
index 527b205..36913cc 100644
--- a/src/blueshift_drm_c.h
+++ b/src/blueshift_drm_c.h
@@ -26,10 +26,14 @@
#include <sys/types.h>
#include <fcntl.h>
#include <alloca.h>
+#include <limits.h>
#ifndef O_CLOEXEC
# define O_CLOEXEC 02000000
#endif
+#ifndef PATH_MAX
+# define PATH_MAX 4096
+#endif
/* Requires video group */
#include <xf86drm.h>