From bad@uhf.wireless.net  Sun Dec 29 15:53:29 1996
Received: from uhf.wdc.net (uhf.wdc.net [198.147.74.44])
          by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id PAA18904
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 29 Dec 1996 15:53:26 -0800 (PST)
Received: (from bad@localhost) by uhf.wdc.net (8.8.4/8.6.12) id SAA00745; Sun, 29 Dec 1996 18:55:34 -0500 (EST)
Message-Id: <199612292355.SAA00745@uhf.wdc.net>
Date: Sun, 29 Dec 1996 18:55:34 -0500 (EST)
From: bad@uhf.wireless.net
Reply-To: bad@uhf.wireless.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: missing #include in 2.2-beta:/usr/include/net/if.h
X-Send-Pr-Version: 3.2

>Number:         2322
>Category:       misc
>Synopsis:       Missing include statement in /usr/include/net/if.h
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bde
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 29 16:00:01 PST 1996
>Closed-Date:    Sun Dec 29 20:50:14 PST 1996
>Last-Modified:  Sun Dec 29 21:20:15 PST 1996
>Originator:     Bernie Doehner
>Release:        FreeBSD 2.2-BETA_A i386
>Organization:
Buaas Corporation
>Environment:

	486/120 running FreeBSD 2.2-BETA. 

>Description:

	In /usr/include/net/if.h (in 2.2-BETA) there is a missing
	#include <sys/socket.h>.
	Note:
	In 2.2-9600501-SNAP <net/if.h> contains the #include <sys/socket.h>
	but it's gone in 2.2-beta.

>How-To-Repeat:

	Compile any program that #includes /usr/include/net/if.h 
        and does not include <sys/socket.h> first.

>Fix:
	add #include <sys/socket.h> to <net/if.h> at the very beginning
	(Ie. before ifndef _TIME_)
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->bde 
Responsible-Changed-By: jkh 
Responsible-Changed-When: Sun Dec 29 16:54:47 PST 1996 
Responsible-Changed-Why:  
This is Bruce's, and I'll let him justify his revision 1.35 change. :) 
State-Changed-From-To: open->closed 
State-Changed-By: bde 
State-Changed-When: Sun Dec 29 20:50:14 PST 1996 
State-Changed-Why:  
Not a bug.  <sys/socket.h> is a documented prerequisite for 
<net/if.h>.  See `man networking'.  I broke this in rev.1.9 
and fixed it in rev.1.35. 
>Unformatted:
