OrionLibC
Barry Importing existing Orion LibC 03048a9 (2 years, 2 months ago)diff --git a/include/arpa/inet.h b/include/arpa/inet.h new file mode 100644 index 0000000..4de8dc6 --- /dev/null +++ b/include/arpa/inet.h @@ -0,0 +1,15 @@ +#ifndef _ARPA_INET_H +#define _ARPA_INET_H + +typedef struct InAddr { + uint32_t addr; +} InAddr; + +typedef struct SockAddrIn { + int16_t family; + uint16_t port; + InAddr inAddr; + char zero[8]; +} SockAddrIn; + +#endif