diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-07-12 18:56:10 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-07-12 18:56:10 +0000 |
commit | dd5db8b9f54ccfc62cf74f6acfba8b73db3c5977 (patch) | |
tree | 91454431ce14060e515620aca0293aa13041ad65 /include/netinet | |
parent | 38dccaf3edd9a6091cd06962a84d8a3cf87796ea (diff) |
Add missing in_addr_t
Diffstat (limited to 'include/netinet')
-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. |