[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacsclient breaks build on OS X 10.3.9

From: David Reitter
Subject: Re: emacsclient breaks build on OS X 10.3.9
Date: Fri, 10 Nov 2006 14:25:44 +0000

On 10 Nov 2006, at 12:17, Juanma Barranquero wrote:

On 11/10/06, David Reitter <address@hidden> wrote:

It appears that this doesn't occur on more current OS X versions
because they include this in their netinet/in.h:

#include <sys/_types.h>

#ifndef _IN_ADDR_T
#define _IN_ADDR_T
typedef __uint32_t in_addr_t; /* base type for internet address */

Could you please determine what is the right .h file to include in your setup?

#include <sys/types.h>

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.


[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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]