Date: Thu, 27 Dec 2001 16:33:51 -0800 From: Maksim Yevmenkin <myevmenk@digisle.net> To: current@freebsd.org, jhay@freebsd.org Subject: [PATCH] if_ar and if_sr compile problem Message-ID: <3C2BBDEF.492478F@digisle.net>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------9A4319A387C76555ABF7CCEB Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hackers, it looks like if_ar and if_sr modules will not compile unless you have enabled NETGRAPH. patches are simple and attached. thanks, max p.s. i'm trying today's -current. --------------9A4319A387C76555ABF7CCEB Content-Type: text/plain; charset=us-ascii; name="if_ar.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="if_ar.c.diff" --- if_ar.c.orig Thu Dec 27 16:25:55 2001 +++ if_ar.c Thu Dec 27 15:44:19 2001 @@ -69,6 +69,10 @@ #include <sys/syslog.h> #include <dev/ar/if_ar.h> #else /* NETGRAPH */ +#include <netinet/in.h> +#include <netinet/in_systm.h> +#include <netinet/ip.h> +#include <net/slcompress.h> #include <net/if_sppp.h> #include <net/bpf.h> #endif /* NETGRAPH */ --------------9A4319A387C76555ABF7CCEB Content-Type: text/plain; charset=us-ascii; name="if_sr.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="if_sr.c.diff" --- if_sr.c.orig Thu Dec 27 16:26:57 2001 +++ if_sr.c Thu Dec 27 16:09:33 2001 @@ -70,6 +70,10 @@ #ifdef NETGRAPH #include <sys/syslog.h> #else /* NETGRAPH */ +#include <netinet/in.h> +#include <netinet/in_systm.h> +#include <netinet/ip.h> +#include <net/slcompress.h> #include <net/if_sppp.h> #include <net/bpf.h> --------------9A4319A387C76555ABF7CCEB-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C2BBDEF.492478F>