void-packages/srcpkgs/libpciaccess/patches/fix-musl.patch
2015-05-04 16:58:59 -05:00

12 lines
313 B
Diff

diff --git src/linux_sysfs.c src/linux_sysfs.c
index 50d94cf..7bc5600 100644
--- src/linux_sysfs.c
+++ 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>