Dash:
[t2-trunk.git] / package / xorg / libpciaccess / pathmax.patch
blob214bd85464f8299a5845d3580eae673fb1c770d6
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../libpciaccess/pathmax.patch
5 # Copyright (C) 2016 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 E.g. for musl.
19 --- libpciaccess-0.13.4/src/linux_sysfs.c.vanilla 2016-12-24 14:15:50.139685518 +0000
20 +++ libpciaccess-0.13.4/src/linux_sysfs.c 2016-12-24 14:16:00.635685698 +0000
21 @@ -48,6 +48,7 @@
22 #include <sys/mman.h>
23 #include <dirent.h>
24 #include <errno.h>
25 +#include <limits.h>
27 #if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
28 #include <sys/io.h>