Files
2010-07-27 16:58:17 +00:00

19 lines
295 B
C

#include <proto/socket.h>
#include <netdb.h>
#ifndef gethostbyname
# error what !?
#endif
static __inline struct hostent *GetHostByName(const char *name)
{
return gethostbyname(name);
}
#undef gethostbyname
struct hostent *gethostbyname(const char *name)
{
return GetHostByName(name);
}