1
0
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:
stskeeps
2001-05-05 16:42:27 +00:00
parent 452d931de2
commit 5f306b09f0
2 changed files with 5 additions and 4 deletions
+1
View File
@@ -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
View File
@@ -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__ */