X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=lib%2Ffake-getaddrinfo.h;h=5af7491842c0e5fbcd2814f8203aac499cdaab2e;hp=3f24375c3b647178c24ea37a47a3a89c8b485eeb;hb=f2570c1b7f5813e087c867cf002f36f0c09b5cfa;hpb=1401faf608e1c8af0d0754e545b0ec79d2bd5d93 diff --git a/lib/fake-getaddrinfo.h b/lib/fake-getaddrinfo.h index 3f24375c..5af74918 100644 --- a/lib/fake-getaddrinfo.h +++ b/lib/fake-getaddrinfo.h @@ -1,14 +1,6 @@ -/* $Id: fake-getaddrinfo.h,v 1.1.2.2 2003/07/06 23:16:27 guus Exp $ */ - #ifndef _FAKE_GETADDRINFO_H #define _FAKE_GETADDRINFO_H -#include "config.h" - -#include -#include -#include - #include "fake-gai-errnos.h" #ifndef AI_PASSIVE @@ -39,16 +31,16 @@ struct addrinfo { }; #endif /* !HAVE_STRUCT_ADDRINFO */ -#ifndef HAVE_GETADDRINFO +#if !HAVE_DECL_GETADDRINFO int getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res); #endif /* !HAVE_GETADDRINFO */ -#ifndef HAVE_GAI_STRERROR +#if !HAVE_DECL_GAI_STRERROR char *gai_strerror(int ecode); #endif /* !HAVE_GAI_STRERROR */ -#ifndef HAVE_FREEADDRINFO +#if !HAVE_DECL_FREEADDRINFO void freeaddrinfo(struct addrinfo *ai); #endif /* !HAVE_FREEADDRINFO */