summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/libpciaccess/patches/patch-src_linux_sysfs_c10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/libpciaccess/patches/patch-src_linux_sysfs_c b/package/libpciaccess/patches/patch-src_linux_sysfs_c
new file mode 100644
index 000000000..f03152988
--- /dev/null
+++ b/package/libpciaccess/patches/patch-src_linux_sysfs_c
@@ -0,0 +1,10 @@
+--- libpciaccess-0.13.1.orig/src/linux_sysfs.c 2012-04-09 19:02:57.000000000 +0200
++++ libpciaccess-0.13.1/src/linux_sysfs.c 2013-10-21 15:25:14.000000000 +0200
+@@ -34,6 +34,7 @@
+
+ #define _GNU_SOURCE
+
++#include <limits.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <stdio.h>