diff options
Diffstat (limited to 'mdk-stage1/dns.h')
-rw-r--r-- | mdk-stage1/dns.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 <netinet/in.h> +#include <netdb.h> -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 |