mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-27 04:12:29 +01:00
22 lines
638 B
Diff
22 lines
638 B
Diff
--- libpciaccess-0.13.2.orig/src/linux_sysfs.c
|
|
+++ libpciaccess-0.13.2/src/linux_sysfs.c
|
|
@@ -44,6 +44,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>
|
|
--- libpciaccess-0.13.2.orig/src/pciaccess_private.h
|
|
+++ libpciaccess-0.13.2/src/pciaccess_private.h
|
|
@@ -42,7 +42,7 @@
|
|
* know of any OS we support where this isn't available in a sufficiently
|
|
* new version, so warn unconditionally.
|
|
*/
|
|
-#include <sys/fcntl.h>
|
|
+#include <fcntl.h>
|
|
|
|
#ifndef O_CLOEXEC
|
|
#warning O_CLOEXEC not available, please upgrade.
|