[PATCH libpciaccess] linux_sysfs: include <limits.h> for PATH_MAX

Felix Janda felix.janda at posteo.de
Thu Dec 4 14:52:22 PST 2014


Signed-off-by: Felix Janda <felix.janda at posteo.de>
---
 src/linux_sysfs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/linux_sysfs.c b/src/linux_sysfs.c
index 8fca65e..599a348 100644
--- a/src/linux_sysfs.c
+++ b/src/linux_sysfs.c
@@ -44,6 +44,7 @@
 #include <sys/mman.h>
 #include <dirent.h>
 #include <errno.h>
+#include <limits.h>
 
 #if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
 #include <sys/io.h>
-- 
2.0.4


More information about the xorg-devel mailing list