OSDN Git Service
(root)
/
android-x86
/
external-libpciaccess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
765e0a3
)
linux_sysfs.c: Include <limits.h> for PATH_MAX
author
Felix Janda
<felix.janda@posteo.de>
Fri, 1 May 2015 14:36:50 +0000
(16:36 +0200)
committer
Alan Coopersmith
<alan.coopersmith@oracle.com>
Tue, 5 May 2015 04:11:53 +0000
(21:11 -0700)
Fixes compilation with musl libc.
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Felix Janda <felix.janda@posteo.de>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
src/linux_sysfs.c
patch
|
blob
|
history
diff --git
a/src/linux_sysfs.c
b/src/linux_sysfs.c
index
50d94cf
..
3f95e53
100644
(file)
--- a/
src/linux_sysfs.c
+++ b/
src/linux_sysfs.c
@@
-45,6
+45,7
@@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <limits.h>
#include <sys/mman.h>
#include <dirent.h>
#include <errno.h>