mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-04 12:33:12 +02:00
+- Fixed some compilation error with IPv6
This commit is contained in:
@@ -478,3 +478,4 @@ seen. gmtime warning still there
|
||||
(testing)
|
||||
- Made listen format able to do:
|
||||
listen [ip]:port, for IPv6 - listen [3fff:ff::1]:6667
|
||||
- Fixed some compilation error with IPv6
|
||||
|
||||
+4
-4
@@ -56,6 +56,10 @@
|
||||
#ifdef SSL
|
||||
#include <openssl/ssl.h>
|
||||
#endif
|
||||
#ifdef INET6
|
||||
#include <netinet/in.h>
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
#ifndef GOT_STRCASECMP
|
||||
#define strcasecmp mycmp
|
||||
#define strncasecmp myncmp
|
||||
@@ -188,8 +192,4 @@ static const struct in6_addr in6addr_any = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
#ifndef RTLD_NOW
|
||||
#define RTLD_NOW RTLD_LAZY
|
||||
#endif
|
||||
#ifdef INET6
|
||||
#include <netinet/in.h>
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
#endif /* __sys_include__ */
|
||||
|
||||
Reference in New Issue
Block a user