summaryrefslogtreecommitdiff
path: root/user/libpciaccess/limits_h.patch
blob: 6e0d7eeab5680e4a2d4ea49a547e829e78ee1f9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- a/src/linux_sysfs.c
+++ b/src/linux_sysfs.c
@@ -48,6 +48,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>