OSDN Git Service

Add missing in_addr_t
authorEric Andersen <andersen@codepoet.org>
Thu, 12 Jul 2001 18:56:10 +0000 (18:56 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 12 Jul 2001 18:56:10 +0000 (18:56 -0000)
include/netinet/in.h

index 07b7193..b5a5c72 100644 (file)
@@ -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.