void-packages/srcpkgs/libpciaccess/patches/fix-musl.patch

13 lines
313 B
Diff
Raw Normal View History

2015-05-04 23:58:59 +02:00
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>