From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: OSX breakage Date: Mon, 28 Nov 2011 11:00:00 -0800 Organization: UCLA Computer Science Department Message-ID: <4ED3DA30.1050006@cs.ucla.edu> References: <4ED3AA79.8060605@lassnig.net> <838vn06swa.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1322506819 15326 80.91.229.12 (28 Nov 2011 19:00:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2011 19:00:19 +0000 (UTC) Cc: mario@lassnig.net, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 28 20:00:15 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RV6R4-0006gl-Vw for ged-emacs-devel@m.gmane.org; Mon, 28 Nov 2011 20:00:15 +0100 Original-Received: from localhost ([::1]:39416 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV6R4-0003Kn-4G for ged-emacs-devel@m.gmane.org; Mon, 28 Nov 2011 14:00:14 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:45314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV6R1-0003IS-FB for emacs-devel@gnu.org; Mon, 28 Nov 2011 14:00:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RV6R0-0004Aj-B1 for emacs-devel@gnu.org; Mon, 28 Nov 2011 14:00:11 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:42801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV6Qy-00048A-9i; Mon, 28 Nov 2011 14:00:08 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id E5980A60003; Mon, 28 Nov 2011 11:00:06 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g8o5hkpoh8w7; Mon, 28 Nov 2011 11:00:06 -0800 (PST) Original-Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 989A1A60001; Mon, 28 Nov 2011 11:00:06 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 In-Reply-To: <838vn06swa.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 131.179.128.62 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146316 Archived-At: On 11/28/11 09:47, Eli Zaretskii wrote: > Is there really no system header on OS X that declares `environ'? I'm > surprised. That's the old, old Unix tradition, alas. It's not just OS X. The "right" way to fix it is to declare "extern char **environ;" if it's not already declared. There's a Gnulib module for that, which I can look into -- it puts the declaration into a substitute unistd.h if unistd.h doesn't already declare it.