mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -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:
parent
5001f8cd7a
commit
634acd267c
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user