From 278ed5e9c6d9b35a7854b31870dbe114d1cba8b2 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 14 May 2001 14:38:46 +0000 Subject: now use gethostby* functions provided by dietlibc --- mdk-stage1/dns.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mdk-stage1/dns.h') diff --git a/mdk-stage1/dns.h b/mdk-stage1/dns.h index 97af9c08a..8506db923 100644 --- a/mdk-stage1/dns.h +++ b/mdk-stage1/dns.h @@ -22,9 +22,9 @@ #ifndef H_DNS #define H_DNS -#include +#include -int mygethostbyname(char * name, struct in_addr * addr); -char * mygethostbyaddr(char * ipnum); +// needs a wrapper since gethostbyname from dietlibc doesn't support domain handling +struct hostent *mygethostbyname(const char *name); #endif -- cgit v1.2.1