From dd5db8b9f54ccfc62cf74f6acfba8b73db3c5977 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 12 Jul 2001 18:56:10 +0000 Subject: Add missing in_addr_t --- include/netinet/in.h | 7 ++++--- 1 file 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. -- cgit v1.2.3