diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1994-11-15 14:41:38 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1994-11-15 14:41:38 +0000 |
| commit | df708ff192f1eddf4a8f48816bdc187a4dadc9c3 (patch) | |
| tree | f6e2ae36f5e3aa8b0c5cfcc3c0dc0a98c2038739 /sys/net/if.h | |
| parent | 67f517330d43790b5556cfdf97fc3022c13e54cf (diff) | |
Notes
Diffstat (limited to 'sys/net/if.h')
| -rw-r--r-- | sys/net/if.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/net/if.h b/sys/net/if.h index 006a6b6bd7ea..925f0d7450f2 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -31,11 +31,11 @@ * SUCH DAMAGE. * * @(#)if.h 8.1 (Berkeley) 6/10/93 - * $Id: if.h,v 1.7 1994/10/01 19:44:38 wollman Exp $ + * $Id: if.h,v 1.8 1994/11/14 14:06:05 bde Exp $ */ #ifndef _NET_IF_H_ -#define _NET_IF_H_ +#define _NET_IF_H_ /* * Structures defining a network interface, providing a packet @@ -61,6 +61,9 @@ * routing and gateway routines maintaining information used to locate * interfaces. These routines live in the files if.c and route.c */ + +#include <socket.h> /* for struct sockaddr */ + #ifndef _TIME_ /* XXX fast fix for SNMP, going away soon */ #include <sys/time.h> #endif @@ -368,6 +371,6 @@ void loopattach __P((void)); int looutput __P((struct ifnet *, struct mbuf *, struct sockaddr *, struct rtentry *)); void lortrequest __P((int, struct rtentry *, struct sockaddr *)); -#endif +#endif /* KERNEL */ -#endif +#endif /* !_NET_IF_H_ */ |
