Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include/arpa This header needs struct in_addr from <netinet/...



details:   https://anonhg.NetBSD.org/src/rev/c113a49ff5cb
branches:  trunk
changeset: 526155:c113a49ff5cb
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Fri Apr 26 14:56:16 2002 +0000

description:
This header needs struct in_addr from <netinet/in.h>, so include that.
POSIX-2001 says exposing the contents of <netinet/in.h> here is OK.

diffstat:

 include/arpa/inet.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 0eb782ac424c -r c113a49ff5cb include/arpa/inet.h
--- a/include/arpa/inet.h       Fri Apr 26 14:27:23 2002 +0000
+++ b/include/arpa/inet.h       Fri Apr 26 14:56:16 2002 +0000
@@ -55,7 +55,7 @@
 
 /*
  *     @(#)inet.h      8.1 (Berkeley) 6/2/93
- *     $NetBSD: inet.h,v 1.9 1999/07/03 13:30:38 kleink Exp $
+ *     $NetBSD: inet.h,v 1.10 2002/04/26 14:56:16 bjh21 Exp $
  */
 
 #ifndef _ARPA_INET_H_
@@ -70,6 +70,7 @@
 # include <sys/types.h>
 #endif
 #include <sys/cdefs.h>
+#include <netinet/in.h>
 
 __BEGIN_DECLS
 unsigned long   inet_addr __P((const char *));



Home | Main Index | Thread Index | Old Index