summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-01 12:33:13 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-01 12:33:13 +0000
commit4a26a36523d2d7e90191df33debaee38fb585483 (patch)
tree985a66ebc24cb5b2a097cd517b76896c6665246f /include
parent4488e477136ea3daa60a744bac272cc37a604136 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/socket.h2
1 files changed, 2 insertions, 0 deletions
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