summaryrefslogtreecommitdiff
path: root/user/libpciaccess/limits_h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/libpciaccess/limits_h.patch')
-rw-r--r--user/libpciaccess/limits_h.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/user/libpciaccess/limits_h.patch b/user/libpciaccess/limits_h.patch
new file mode 100644
index 000000000..6e0d7eeab
--- /dev/null
+++ b/user/libpciaccess/limits_h.patch
@@ -0,0 +1,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>