[Toybox] missing header in nbd_client

idunham at lavabit.com idunham at lavabit.com
Wed Apr 24 16:11:41 PDT 2013


nbd_client needs <netinet/in.h> for IPPROTO_TCP on musl;
netdb.h includes it already on glibc, but POSIX only specifies it for
netinet/in.h.

(It just got annoying to see make allyesconfig; make CC=musl-gcc fail on
something this trivial.)

Isaac Dunham
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nbd-client.diff
Type: text/x-diff
Size: 363 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20130424/080cc905/attachment-0006.diff>


More information about the Toybox mailing list