mirror of
https://git.freebsd.org/ports.git
synced 2025-06-18 11:10:32 -04:00
ChangeLog: http://landley.net/toybox/#19-15-2021 PR: 256351 Reported by: vidar@karlsen.tech (maintainer)
11 lines
446 B
C
11 lines
446 B
C
--- lib/portability.h.orig 2021-06-01 14:59:57 UTC
|
|
+++ lib/portability.h
|
|
@@ -217,7 +217,7 @@ int posix_fallocate(int, off_t, off_t);
|
|
#include <xlocale.h>
|
|
#endif
|
|
|
|
-#if defined(__APPLE__) || defined(__OpenBSD__)
|
|
+#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__FreeBSD__)
|
|
static inline long statfs_bsize(struct statfs *sf) { return sf->f_iosize; }
|
|
static inline long statfs_frsize(struct statfs *sf) { return sf->f_bsize; }
|
|
#else
|