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.
--- 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 */
--- 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>

Reply via email to