From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/583 Path: news.gmane.org!not-for-mail From: Isaac Dunham Newsgroups: gmane.linux.lib.musl.general Subject: Missing header(s) Date: Mon, 20 Feb 2012 09:24:59 -0800 Message-ID: <20120220092459.23c85483.idunham@lavabit.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1329758719 8427 80.91.229.3 (20 Feb 2012 17:25:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 20 Feb 2012 17:25:19 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-584-gllmg-musl=m.gmane.org@lists.openwall.com Mon Feb 20 18:25:14 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1RzWzB-00089z-V6 for gllmg-musl@plane.gmane.org; Mon, 20 Feb 2012 18:25:14 +0100 Original-Received: (qmail 26151 invoked by uid 550); 20 Feb 2012 17:25:13 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 26143 invoked from network); 20 Feb 2012 17:25:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=jKj+yg8Yvfd1Ia8BasOvWN9MsG2bO/D/AJiA6d5CA1nvB0RtEIhnZ2vxfHwiYUtRMoJpsfQMtMfE7/VdYjP07hnsoQOaobEDqXAQAd59SB6FQgeq+eBL+g1Kis5OgCdG+aoOzG6Njp+6iQlYkaOAshABBk02NtjiinFZfwNmYnc=; h=Date:From:To:Subject:Message-Id:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; i486-pc-linux-gnu) Xref: news.gmane.org gmane.linux.lib.musl.general:583 Archived-At: 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 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