Source-Changes-HG archive

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

[src/trunk]: src/sys/net <net/if.h> needs <sys/socket.h> for struct sockaddr.



details:   https://anonhg.NetBSD.org/src/rev/f09ee8da7b61
branches:  trunk
changeset: 535078:f09ee8da7b61
user:      soren <soren%NetBSD.org@localhost>
date:      Fri Aug 09 22:43:15 2002 +0000

description:
<net/if.h> needs <sys/socket.h> for struct sockaddr.
PR kern/3377 from der Mouse.

diffstat:

 sys/net/if.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r e8f82fbf5551 -r f09ee8da7b61 sys/net/if.h
--- a/sys/net/if.h      Fri Aug 09 21:51:52 2002 +0000
+++ b/sys/net/if.h      Fri Aug 09 22:43:15 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.h,v 1.80 2002/06/23 23:34:08 itojun Exp $   */
+/*     $NetBSD: if.h,v 1.81 2002/08/09 22:43:15 soren Exp $    */
 
 /*-
  * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -76,6 +76,7 @@
 
 #if !defined(_XOPEN_SOURCE)
 
+#include <sys/socket.h>
 #include <sys/queue.h>
 #include <net/dlt.h>
 #include <net/pfil.h>



Home | Main Index | Thread Index | Old Index