summaryrefslogtreecommitdiff
path: root/user/libpciaccess/limits_h.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-08 19:58:15 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-08 19:58:15 -0500
commit02730461b1a637092784ca8fede7aed510a673c4 (patch)
tree730e9840ade05e6d77044e62155774ac374f43bc /user/libpciaccess/limits_h.patch
parent9921a34f1f7691355a4cad384e7ea02a76269c9b (diff)
downloadpackages-02730461b1a637092784ca8fede7aed510a673c4.tar.gz
packages-02730461b1a637092784ca8fede7aed510a673c4.tar.bz2
packages-02730461b1a637092784ca8fede7aed510a673c4.tar.xz
packages-02730461b1a637092784ca8fede7aed510a673c4.zip
user/libpciaccess: pull in, take, bump, fix
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>