diff options
author | Timo Sirainen <cras@irssi.org> | 2001-02-21 03:46:27 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-02-21 03:46:27 +0000 |
commit | 634acd267c18e4314278f15c0936b7566a761d17 (patch) | |
tree | 44356c19d0ce2bbebea19625230b8bbbede6aac9 /src | |
parent | 5001f8cd7ac83e638442da0542417d724b823e67 (diff) | |
download | irssi-634acd267c18e4314278f15c0936b7566a761d17.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/core/network.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 <netinet/in.h> #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 { |