summaryrefslogtreecommitdiff
path: root/package/libpciaccess/patches/patch-src_linux_sysfs_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:25:31 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:25:31 +0200
commit09d28322f4828a387eeee03d303c833eab8828c5 (patch)
tree1002e1240f391b1a4589d063270f271421e2632d /package/libpciaccess/patches/patch-src_linux_sysfs_c
parentddd9bc0ee898eb66569c2159908e45791e32b70d (diff)
fix musl build
Diffstat (limited to 'package/libpciaccess/patches/patch-src_linux_sysfs_c')
-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>