From 09d28322f4828a387eeee03d303c833eab8828c5 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Mon, 21 Oct 2013 17:25:31 +0200
Subject: fix musl build

---
 package/libpciaccess/patches/patch-src_linux_sysfs_c | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 package/libpciaccess/patches/patch-src_linux_sysfs_c

(limited to 'package/libpciaccess/patches/patch-src_linux_sysfs_c')

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>
-- 
cgit v1.2.3