Date: Thu, 13 Jun 1996 11:50:49 +0200 (MET DST) From: Ollivier Robert <roberto@keltia.freenix.fr> To: freebsd-current@freebsd.org (FreeBSD Current Users' list) Subject: #include opt_ipfw.h problem for lkm Message-ID: <199606130950.LAA15818@keltia.freenix.fr>
next in thread | raw e-mail | index | archive | help
sys/netinet/ip_fw.c includes "opt_ipfw.h" when compiling the kernel (which is fine) but includes it also when compiling as lkm (which is bad). That breaks "make depend" and "make world". Index: sys/netinet/ip_fw.c =================================================================== RCS file: /spare/FreeBSD-current/src/sys/netinet/ip_fw.c,v retrieving revision 1.38 diff -u -2 -u -r1.38 ip_fw.c --- ip_fw.c 1996/06/12 19:34:33 1.38 +++ ip_fw.c 1996/06/13 09:43:12 @@ -20,5 +20,7 @@ */ +#ifndef ACTUALLY_LKM_NOT_KERNEL #include "opt_ipfw.h" +#endif #include <sys/param.h> -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 2.2-CURRENT #10: Tue Jun 11 13:36:57 MET DST 1996
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606130950.LAA15818>
