On Mar 28, 2006, at 7:34 PM, Kevin Ryde wrote:

Jay Cotton <[EMAIL PROTECTED]> writes:

In file included from /usr/include/netinet/in.h:78,
                 from /usr/include/netdb.h:86,
                 from posix.c:122:
/usr/include/sys/socket.h:99: error: two or more data types in
declaration specifiers

What does that offending sys/socket.h:99 line say?

It's probably some extra header required before including <netdb.h>.
See if the man page for gethostbyname says how it should look.

The offending sys/socket.h says, in lines 97-100:

97              #ifndef _SOCKLEN_T
98              #define _SOCKLEN_T
99              typedef __darwin_socklen_t      socklen_t;
100             #endif

The man page for gethostbyname just says to #include <netdb.h>.

Jay



_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to