mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04: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>
|
||||
#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 {
|
||||
|
Loading…
Reference in New Issue
Block a user