[Toybox] [PATCH] Fix Mac build.

enh enh at google.com
Tue Mar 10 09:20:25 PDT 2020


The recent re-enablement of the BLKGETSIZE64 code broke the Mac
build. Use the equivalent <sys/disk.h> ioctl() pair instead.
---
 lib/lib.c         |  5 +----
 lib/portability.c | 20 ++++++++++++++++++++
 lib/portability.h |  2 ++
 3 files changed, 23 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-Mac-build.patch
Type: application/octet-stream
Size: 2210 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20200310/2ff930a3/attachment-0002.obj>


More information about the Toybox mailing list