diff options
author | brian <brian@FreeBSD.org> | 1997-02-25 14:05:17 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-02-25 14:05:17 +0000 |
commit | 4a576feefdef6ba5bb826acd9c9ee58cee27260e (patch) | |
tree | 4252ef9f097a010aba4c613582beab10c273f68a /usr.sbin/ppp/arp.c | |
parent | 9558dcc2c302f2d907ae179ea4a34052746c6e94 (diff) | |
download | FreeBSD-src-4a576feefdef6ba5bb826acd9c9ee58cee27260e.zip FreeBSD-src-4a576feefdef6ba5bb826acd9c9ee58cee27260e.tar.gz |
osreldate.h stuff suggested by: Eivind Eklund
Remove #include's from sig.h and get dependant modules to include them
themselves. Make inclusion of if_var.h depend on __FreeBSD_version so
that the -current version of ppp can be used with 2.1.*
2.2 Candidate ?
Diffstat (limited to 'usr.sbin/ppp/arp.c')
-rw-r--r-- | usr.sbin/ppp/arp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/ppp/arp.c b/usr.sbin/ppp/arp.c index da20f0f..20af40c 100644 --- a/usr.sbin/ppp/arp.c +++ b/usr.sbin/ppp/arp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id$ + * $Id: arp.c,v 1.9 1997/02/22 16:09:56 peter Exp $ * */ @@ -35,7 +35,10 @@ #include <string.h> #include <net/if.h> +#include <osreldate.h> +#if __FreeBSD_version >= 199702 #include <net/if_var.h> +#endif #include <net/route.h> #include <net/if_dl.h> #include <netinet/in.h> |