Skip site navigation (1)Skip section navigation (2)
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

[-- Attachment #1 --]
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.
[-- Attachment #2 --]
--- 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 */

[-- Attachment #3 --]
--- 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>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C2BBDEF.492478F>