From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Re: emacsclient breaks build on OS X 10.3.9 Date: Fri, 10 Nov 2006 14:25:44 +0000 Message-ID: References: <99738CF2-2ED2-4AE7-8DBA-BC0C1CDAA599@gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1163168998 9555 80.91.229.2 (10 Nov 2006 14:29:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Nov 2006 14:29:58 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 10 15:29:56 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GiXKW-0000cx-OK for ged-emacs-devel@m.gmane.org; Fri, 10 Nov 2006 15:26:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GiXKW-0008GD-6J for ged-emacs-devel@m.gmane.org; Fri, 10 Nov 2006 09:26:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GiXKH-0008Dx-Mq for emacs-devel@gnu.org; Fri, 10 Nov 2006 09:25:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GiXKG-0008BK-4s for emacs-devel@gnu.org; Fri, 10 Nov 2006 09:25:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GiXKF-0008Az-SY for emacs-devel@gnu.org; Fri, 10 Nov 2006 09:25:47 -0500 Original-Received: from [212.227.126.177] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GiXKF-0005bn-Lg for emacs-devel@gnu.org; Fri, 10 Nov 2006 09:25:47 -0500 Original-Received: from [129.215.174.81] (helo=[129.215.174.81]) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis), id 0MKxQS-1GiXKE3R8R-0004WX; Fri, 10 Nov 2006 15:25:46 +0100 In-Reply-To: Original-To: emacs- devel X-Mailer: Apple Mail (2.752.2) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:f3c9a04d49beab9fcce37ffcb55ebfb9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:62034 Archived-At: On 10 Nov 2006, at 12:17, Juanma Barranquero wrote: > On 11/10/06, David Reitter wrote: > >> It appears that this doesn't occur on more current OS X versions >> because they include this in their netinet/in.h: >> >> ---- >> #include >> >> #ifndef _IN_ADDR_T >> #define _IN_ADDR_T >> typedef __uint32_t in_addr_t; /* base type for internet >> address */ >> #endif > > Could you please determine what is the right .h file to include in > your setup? #include does the job for me. You may want to enclose it in #ifndef in_addr_t to avoid side-effects on other systems at this point. in_addr_t is mentioned in reference 2 below as "Not present on many pre-POSIX systems. Functions that otherwise use in_addr_t usually use int on those." I guess that applies to OS X 10.3.9. References: [1] http://openvpn.net/archive/openvpn-devel/2002-05/msg00004.html [2] http://daniel.haxx.se/projects/portability/ -- David Reitter Blog: http://www.davids-world.com Homepage: http://www.david- reitter.com