diff options
author | bde <bde@FreeBSD.org> | 1994-11-15 14:41:38 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1994-11-15 14:41:38 +0000 |
commit | 480097ce44462733ea9f5465a4477438202ca04e (patch) | |
tree | f6e2ae36f5e3aa8b0c5cfcc3c0dc0a98c2038739 /sys/net/if_arp.h | |
parent | 0f7f4eaa5a15d2d0d4352546281e3af20c1bc8fa (diff) | |
download | FreeBSD-src-480097ce44462733ea9f5465a4477438202ca04e.zip FreeBSD-src-480097ce44462733ea9f5465a4477438202ca04e.tar.gz |
Include <sys/socket.h> for declaration of struct sockaddr. This helps
genassym compile when KERNEL is not defined.
Uniformize idempotency ifdef.
Diffstat (limited to 'sys/net/if_arp.h')
-rw-r--r-- | sys/net/if_arp.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/net/if_arp.h b/sys/net/if_arp.h index 471e2e0..c7996db 100644 --- a/sys/net/if_arp.h +++ b/sys/net/if_arp.h @@ -31,11 +31,13 @@ * SUCH DAMAGE. * * @(#)if_arp.h 8.1 (Berkeley) 6/10/93 - * $Id: if_arp.h,v 1.2 1994/08/02 07:46:10 davidg Exp $ + * $Id: if_arp.h,v 1.3 1994/08/21 05:11:41 paul Exp $ */ #ifndef _NET_IF_ARP_H_ -#define _NET_IF_ARP_H_ +#define _NET_IF_ARP_H_ + +#include <socket.h> /* for struct sockaddr */ /* * Address Resolution Protocol. @@ -88,4 +90,4 @@ struct arpreq { #define ATF_PUBL 0x08 /* publish entry (respond for other host) */ #define ATF_USETRAILERS 0x10 /* has requested trailers */ -#endif +#endif /* !_NET_IF_ARP_H_ */ |