Make sure the 1.1 branch compiles in a MinGW environment.
UNIX domain sockets, of course, don't exist on Windows. For now, when compiling tinc in a MinGW environment, try to use a TCP socket bound to localhost as an alternative.
This commit is contained in:
parent
08615e420b
commit
075264a9e1
7 changed files with 95 additions and 25 deletions
4
have.h
4
have.h
|
@ -100,6 +100,10 @@
|
|||
#include <sys/uio.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_UN_H
|
||||
#include <sys/un.h>
|
||||
#endif
|
||||
|
||||
/* SunOS really wants sys/socket.h BEFORE net/if.h,
|
||||
and FreeBSD wants these lines below the rest. */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue