posix: define in_port_t and in_addr_t in netinet/in.h
The spec requires that these two types be defined in
`<netinet/in.h>`.
#ifndef ZEPHYR_INCLUDE_POSIX_NETINET_IN_H_
#define ZEPHYR_INCLUDE_POSIX_NETINET_IN_H_
+#include <stdint.h>
+
#include <zephyr/net/socket.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef uint16_t in_port_t;
+typedef uint32_t in_addr_t;
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* ZEPHYR_INCLUDE_POSIX_NETINET_IN_H_ */
