void-packages/srcpkgs/clog/patches/musl-limits_h.patch

12 lines
294 B
Diff

--- a/src/libshared/src/FS.cpp
+++ b/src/libshared/src/FS.cpp
@@ -41,7 +41,7 @@
#include <shared.h>
#include <format.h>
-#if defined SOLARIS || defined NETBSD || defined FREEBSD
+#if defined SOLARIS || defined NETBSD || defined FREEBSD || !defined(__GLIBC__)
#include <limits.h>
#endif