From: Isaac Dunham <idunham@lavabit.com>
To: musl@lists.openwall.com
Subject: Missing header(s)
Date: Mon, 20 Feb 2012 09:24:59 -0800 [thread overview]
Message-ID: <20120220092459.23c85483.idunham@lavabit.com> (raw)
ar.h is a header that defines struct ar_hdr and several components.
Needed for at least GNU make-3.81 (I'm sticking with the last GPL2+ version, myself).
Included in NetBSD libc and glibc.
Copying the NetBSD version over worked fine for me; it doesn't define anything internal to the libc, and different implementations are functionally equivalent.
By the way, I've put together a sys/cdefs.h header that gets a lot of stuff to compile; ~95% of it is backwards-compatability macros. If you want, I can submit it; I'd add
#warn "sys/cdefs.h is not standard, and the macros are easily removed"
or some such message.
#include'ing <sys/cdefs.h> is semi-portable, though (NetBSD, GNU libc)--and the only option if you need to support some old systems as well as c99.
--
Isaac Dunham <idunham@lavabit.com>
next reply other threads:[~2012-02-20 17:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-20 17:24 Isaac Dunham [this message]
2012-02-20 19:17 ` Rich Felker
2012-02-21 1:15 ` Isaac Dunham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120220092459.23c85483.idunham@lavabit.com \
--to=idunham@lavabit.com \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).