Merge pull request #1504 from jprjr/fix-libpciaccess-musl

libpciaccess: fix compilation on musl
This commit is contained in:
Juan RP 2015-05-05 08:31:48 +02:00
commit 2a960cf3bf
2 changed files with 13 additions and 1 deletions

View file

@ -0,0 +1,12 @@
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>

View file

@ -1,7 +1,7 @@
# Template build file for 'libpciaccess'.
pkgname=libpciaccess
version=0.13.4
revision=1
revision=2
build_style=gnu-configure
short_desc="X11 PCI Access library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"