---
 lib/portability.h | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lib/portability.h b/lib/portability.h
index c2b29b6..427b851 100644
--- a/lib/portability.h
+++ b/lib/portability.h
@@ -22,9 +22,10 @@

 // This isn't in the spec, but it's how we determine what libc we're using.

-#include <features.h>
-
-// Types various replacement prototypes need
+// Types various replacement prototypes need.
+// This also lets us determine what libc we're using. Systems that
+// have <features.h> will transitively include it, and ones that don't --
+// macOS -- won't break.
 #include <sys/types.h>

 // Various constants old build environments might not have even if kernel does
-- 
2.19.0.605.g01d371f741-goog

Attachment: 0001-macOS-there-s-no-features.h-on-the-Mac.patch
Description: Binary data

_______________________________________________
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to