]> 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 9a9efcb8c3ed2a0e0a4aa46f92bdfd3fc7ea745b..682fd2b7c21f6c75bab7824f65ba8455c7915591 100644 (file)
--- a/have.h
+++ b/have.h
 #include <sys/time.h>
 #endif
 
+#ifdef HAVE_TIME_H
+#include <time.h>
+#endif
+
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
 #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. */