Move Windows port to MinGW
[fio.git] / os / windows / posix / include / netinet / in.h
diff --git a/os/windows/posix/include/netinet/in.h b/os/windows/posix/include/netinet/in.h
new file mode 100644 (file)
index 0000000..80b69a7
--- /dev/null
@@ -0,0 +1,21 @@
+#ifndef NETINET_IN_H\r
+#define NETINET_IN_H\r
+\r
+#include <inttypes.h>\r
+#include <sys/un.h>\r
+\r
+struct in6_addr\r
+{\r
+       uint8_t s6_addr[16];\r
+};\r
+\r
+struct sockaddr_in6\r
+{\r
+       sa_family_t      sin6_family;   // AF_INET6.\r
+       in_port_t        sin6_port;     // Port number.\r
+       uint32_t         sin6_flowinfo; // IPv6 traffic class and flow information.\r
+       struct in6_addr  sin6_addr;     // IPv6 address.\r
+       uint32_t         sin6_scope_id; // Set of interfaces for a scope.\r
+};\r
+\r
+#endif /* NETINET_IN_H */\r