From 634acd267c18e4314278f15c0936b7566a761d17 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 21 Feb 2001 03:46:27 +0000 Subject: [PATCH] Define AF_INET6 if it isn't already defined git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1270 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/network.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/core/network.h b/src/core/network.h index 1213c8e9..c4e729c8 100644 --- a/src/core/network.h +++ b/src/core/network.h @@ -7,6 +7,14 @@ # include #endif +#ifndef AF_INET6 +# ifdef PF_INET6 +# define AF_INET6 PF_INET6 +# else +# define PF_INET6 10 +# endif +#endif + struct _IPADDR { unsigned short family; union {