diff options
-rw-r--r-- | include/netinet/in.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/netinet/in.h b/include/netinet/in.h index 07b7193e5..b5a5c7275 100644 --- a/include/netinet/in.h +++ b/include/netinet/in.h @@ -103,10 +103,11 @@ enum /* Internet address. */ +typedef uint32_t in_addr_t; struct in_addr - { - uint32_t s_addr; - }; +{ + in_addr_t s_addr; +}; /* Definitions of the bits in an Internet address integer. |