]> git.meshlink.io Git - meshlink/blobdiff - have.h
Make sure the 1.1 branch compiles in a MinGW environment.
[meshlink] / have.h
diff --git a/have.h b/have.h
index 49af86165364df34d0603d009007371264421db2..682fd2b7c21f6c75bab7824f65ba8455c7915591 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. */