[avahi] avahi 0.6.16 on macos 10.3.9
Julien TOUCHE
julien.touche at lycos.com
Sun Feb 4 10:23:22 PST 2007
Lennart Poettering wrote on 4/02/07 18:28:
> On Sun, 28.01.07 16:41, Julien TOUCHE (julien.touche at lycos.com) wrote:
>
>> Hi
>>
>> i've encountered a compile error on osx.
>
> There's probably just one header file inclusion missing from
> dns.c. Please check where in_addr_t is defined on MacOSX. On Debian it
> is defined in /usr/include/netinet/in.h, but that's apparently not the
> place where it is found in MacOS.
>
> Should be a trivial thing to fix.
not sure, file is ok or seems to be
$ grep -rn in_addr_t /usr/include/*|more
/usr/include/arpa/inet.h:101:in_addr_t inet_addr(const char *);
/usr/include/arpa/inet.h:103:in_addr_t inet_lnaof(struct in_addr);
/usr/include/arpa/inet.h:104:struct in_addr
inet_makeaddr(in_addr_t, in_addr_t);
/usr/include/arpa/inet.h:105:in_addr_t inet_netof(struct in_addr);
/usr/include/arpa/inet.h:106:in_addr_t inet_network(const char *);
/usr/include/arpa/inet.h:112:char *inet_neta(in_addr_t,
char *, size_t);
Binary file /usr/include/libc-gcc3.p matches
/usr/include/netinet/in.h:255: in_addr_t s_addr;
/usr/include/php/main/php_config.h:1158:/* #undef in_addr_t */
/usr/include/sys/types.h:95:typedef u_int32_t in_addr_t;
/* base type for internet ad
dress */
from netinet/in.h
/*
* Internet address (a structure for historical reasons)
*/
struct in_addr {
in_addr_t s_addr;
};
$ gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1671)
Regards
Julien
More information about the avahi
mailing list