void-packages/srcpkgs/qt6-base/patches/musl-limits.patch

21 lines
585 B
Diff
Raw Normal View History

2020-10-08 20:40:31 +02:00
--- qmake/library/ioutils.cpp 2020-09-24 17:55:53.000000000 +0200
+++ - 2020-10-07 22:40:03.905629969 +0200
@@ -40,6 +40,7 @@
# include <unistd.h>
# include <utime.h>
# include <fcntl.h>
+# include <limits.h>
# include <errno.h>
#endif
--- src/corelib/io/qstorageinfo_unix.cpp 2020-09-24 17:55:53.000000000 +0200
+++ - 2020-10-07 22:42:32.333434381 +0200
@@ -58,6 +58,7 @@
# include <sys/vfs.h>
# include <mntent.h>
#elif defined(Q_OS_LINUX) || defined(Q_OS_HURD)
+# include <limits.h>
# include <mntent.h>
# include <sys/statvfs.h>
# include <sys/sysmacros.h>