summaryrefslogtreecommitdiff
path: root/include/netinet
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-12 18:56:10 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-12 18:56:10 +0000
commitdd5db8b9f54ccfc62cf74f6acfba8b73db3c5977 (patch)
tree91454431ce14060e515620aca0293aa13041ad65 /include/netinet
parent38dccaf3edd9a6091cd06962a84d8a3cf87796ea (diff)
Add missing in_addr_t
Diffstat (limited to 'include/netinet')
-rw-r--r--include/netinet/in.h7
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.