X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=include%2Fircd_addrinfo.h;h=d297dcb13ef37d8ab7eb8ab0588009bda603e730;hb=79035436c61e2b58004b47f250ab1e54744a88d6;hp=e6777d568a52e15870e808fe14e5bb0945a30710;hpb=64a7ec5dcf5a0bb0f76df3d36f57d798822bd6d0;p=ircu2.10.12-pk.git diff --git a/include/ircd_addrinfo.h b/include/ircd_addrinfo.h index e6777d5..d297dcb 100644 --- a/include/ircd_addrinfo.h +++ b/include/ircd_addrinfo.h @@ -1,7 +1,30 @@ +#ifndef INCLUDED_config_h +#include "config.h" +#endif + +#ifndef INCLUDED_sys_types_h #include +#define INCLUDED_sys_types_h +#endif + +#ifndef INCLUDED_sys_socket_h #include +#define INCLUDED_sys_socket_h +#endif + #include + +#ifndef INCLUDED_netinet_in_h #include +#define INCLUDED_netinet_in_h +#endif + +#ifdef HAVE_STDINT_H +#ifndef INCLUDED_stdint_h +#include +#define INCLUDED_stdint_h +#endif +#endif int irc_getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res);