Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 20 Feb 2012 09:24:59 -0800
From: Isaac Dunham <idunham@...abit.com>
To: musl@...ts.openwall.com
Subject: Missing header(s)

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@...abit.com>

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.