1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

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
This commit is contained in:
Timo Sirainen 2001-02-21 03:46:27 +00:00 committed by cras
parent 5001f8cd7a
commit 634acd267c

View File

@ -7,6 +7,14 @@
# include <netinet/in.h> # include <netinet/in.h>
#endif #endif
#ifndef AF_INET6
# ifdef PF_INET6
# define AF_INET6 PF_INET6
# else
# define PF_INET6 10
# endif
#endif
struct _IPADDR { struct _IPADDR {
unsigned short family; unsigned short family;
union { union {