Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-libpciaccess: Commit

external/libpciaccess


Commit MetaInfo

Revision6bd2f7f92eae713663f4e13f6e2cb23526607b8c (tree)
Time2015-05-05 13:11:53
AuthorFelix Janda <felix.janda@post...>
CommiterAlan Coopersmith

Log Message

linux_sysfs.c: Include <limits.h> for PATH_MAX

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>

Change Summary

Incremental Difference

--- a/src/linux_sysfs.c
+++ b/src/linux_sysfs.c
@@ -45,6 +45,7 @@
4545 #include <sys/types.h>
4646 #include <sys/stat.h>
4747 #include <fcntl.h>
48+#include <limits.h>
4849 #include <sys/mman.h>
4950 #include <dirent.h>
5051 #include <errno.h>
Show on old repository browser