From nobody  Thu Feb 13 06:53:25 1997
Received: (from nobody@localhost)
          by freefall.freebsd.org (8.8.5/8.8.5) id GAA14907;
          Thu, 13 Feb 1997 06:53:25 -0800 (PST)
Message-Id: <199702131453.GAA14907@freefall.freebsd.org>
Date: Thu, 13 Feb 1997 06:53:25 -0800 (PST)
From: Roman.Pavlik@www.cz
To: freebsd-gnats-submit@freebsd.org
Subject: /usr/include/machine/endian.h:60: opt_cpu.h: No such file or dire
X-Send-Pr-Version: www-1.0

>Number:         2728
>Category:       misc
>Synopsis:       /usr/include/machine/endian.h:60: opt_cpu.h: No such file or dire
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 13 07:00:01 PST 1997
>Closed-Date:    Tue Mar 25 18:02:37 PST 1997
>Last-Modified:  Tue Mar 25 18:03:36 PST 1997
>Originator:     Roman.Pavlik
>Release:        3.0-970209-SNAP
>Organization:
SkyNet, Ltd.
>Environment:
FreeBSD gateway.www.cz 3.0-970209-SNAP FreeBSD 3.0-970209-SNAP #0: Mon Feb 10 08:05:29 GMT 1997     jkh@time.cdrom.com:/usr/src/sys/compile/GENERIC  i386

>Description:

/usr/include/machine/endian.h:60: opt_cpu.h: No such file or dire
>How-To-Repeat:
Try to translate Darren Reed's ip filter 
(No problem on FreeBSD 2.1.6).
>Fix:

>Release-Note:
>Audit-Trail:

From: Mike Pritchard <mpp>
To: freebsd-gnats-submit
Cc:  Subject: Re: misc/2728
Date: Sat, 22 Feb 1997 23:47:58 -0800 (PST)

 >Synopsis:       /usr/include/machine/endian.h:60: opt_cpu.h: No such file or dire
 
 /usr/include/machine/endian.h:60: opt_cpu.h: No such file or dire
 >How-To-Repeat:
 Try to translate Darren Reed's ip filter 
 (No problem on FreeBSD 2.1.6).
 
 The include file in question is only included when "KERNEL" is defined,
 which should not be the case for any normal userland programs.
 If the program really does need some of the #ifdef KERNEL stuff
 from other include files, try something like:
 
 #undef KERNEL
 #include <machine/endian.h>
 #define KERNEL
 
 Let me know if I can close this PR based on the above information.
 -- 
 Mike Pritchard
 mpp@FreeBSD.org
 "Go that way.  Really fast.  If something gets in your way, turn"
State-Changed-From-To: open->closed 
State-Changed-By: mpp 
State-Changed-When: Tue Mar 25 18:02:37 PST 1997 
State-Changed-Why:  
The include file in question is for #define KERNEL consumption 
only, and the program in question is now maintained as part 
of FreeBSD now. 
>Unformatted:
