lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] DNS for socket API


From: address@hidden
Subject: Re: [lwip-users] DNS for socket API
Date: Tue, 11 Aug 2009 16:41:26 +0200
User-agent: Thunderbird 2.0.0.22 (Macintosh/20090605)

Simon Goldschmidt wrote:
In netdb.c I get some warnings for implicit declarations of strlen(),
memcpy() and memset(). This probably could indicate a missing string.h
include.
That could well be as I think the example ports include string.h in their 
port-defined cc.h file. Just try to add the missing include in netdb.c until we 
added it to CVS.
I've just added #include <string.h> to netdb.c in CVS.
The error in netdb.c says 'conflicting types for lwip_gethostbyname_r'. In
netdb.h I get the error messages 'previous declaration of
lwip_gethostbyname_r was here' and 'expected declaration specifiers or
'...'
before size_t'

That would mean another standard include is missing in netdb.h. I'll check that.
#include <stddef.h> was added to netdb.h 2 weeks ago.

Simon




reply via email to

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