projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When compiling with MinGW, link with ws2_32.
[tinc]
/
lib
/
fake-getaddrinfo.c
diff --git
a/lib/fake-getaddrinfo.c
b/lib/fake-getaddrinfo.c
index
e170680
..
29b3f9b
100644
(file)
--- a/
lib/fake-getaddrinfo.c
+++ b/
lib/fake-getaddrinfo.c
@@
-11,6
+11,8
@@
#include "system.h"
#include "system.h"
+#include "ipv4.h"
+#include "ipv6.h"
#include "fake-getaddrinfo.h"
#ifndef HAVE_GAI_STRERROR
#include "fake-getaddrinfo.h"
#ifndef HAVE_GAI_STRERROR
@@
-40,7
+42,7
@@
void freeaddrinfo(struct addrinfo *ai)
#endif /* !HAVE_FREEADDRINFO */
#ifndef HAVE_GETADDRINFO
#endif /* !HAVE_FREEADDRINFO */
#ifndef HAVE_GETADDRINFO
-static struct addrinfo *malloc_ai(int port, u
_long
addr)
+static struct addrinfo *malloc_ai(int port, u
int32_t
addr)
{
struct addrinfo *ai;
{
struct addrinfo *ai;