Make sure the 1.1 branch compiles in a MinGW environment.
[tinc] / have.h
diff --git a/have.h b/have.h
index 49af861..682fd2b 100644 (file)
--- a/have.h
+++ b/have.h
 #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. */