From 4a26a36523d2d7e90191df33debaee38fb585483 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 1 Aug 2006 12:33:13 +0000 Subject: This might well be the last commit to this dns resolver in its current form. With a bit of luck, we can make a better (always-threaded) one git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4612 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/socket.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/socket.h') diff --git a/include/socket.h b/include/socket.h index 254d23f46..f9a39ded5 100644 --- a/include/socket.h +++ b/include/socket.h @@ -38,12 +38,14 @@ typedef struct sockaddr_in6 insp_sockaddr; typedef struct in6_addr insp_inaddr; #define AF_FAMILY AF_INET6 +#define PF_PROTOCOL PF_INET6 #else typedef struct sockaddr_in insp_sockaddr; typedef struct in_addr insp_inaddr; #define AF_FAMILY AF_INET +#define PF_PROTOCOL PF_INET #endif -- cgit v1.2.3