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

12 lines
290 B
Diff

--- src/libshared/src/FS.cpp
+++ 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