From ap@sprouts.org  Mon Mar  2 12:17:23 1998
Received: from aw.ivm.net (root@mail.ivm.net [195.78.161.2])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA02587
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 2 Mar 1998 12:17:18 -0800 (PST)
          (envelope-from ap@sprouts.org)
Received: from sprouts.org (sprouts.org [195.78.188.129])
	by aw.ivm.net (8.8.8/8.8.8-ivm) with ESMTP id VAA20988
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 2 Mar 1998 21:17:21 +0100
Received: (from ap@localhost)
          by sprouts.org (8.8.8/8.8.8) id VAA15788;
          Mon, 2 Mar 1998 21:18:16 +0100 (CET)
          (envelope-from ap)
Message-Id: <199803022018.VAA15788@sprouts.org>
Date: Mon, 2 Mar 1998 21:18:16 +0100 (CET)
From: Achim Patzner <ap@sprouts.org>
Reply-To: ap@sprouts.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: C header files problem
X-Send-Pr-Version: 3.2

>Number:         5902
>Category:       misc
>Synopsis:       net/if.h shoud include sys/time.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bde
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar  2 12:20:01 PST 1998
>Closed-Date:    Mon Apr 20 09:31:08 PDT 1998
>Last-Modified:  Mon Apr 20 09:36:54 PDT 1998
>Originator:     Achim Patzner
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:

	
FreeBSD current as of March 1, 1998

>Description:

	 

netatalk can't be compiled (and I suppose a number of others neither) which
include net/if.h but not sys/time.h as at line 69 in if.h someone is using
struct timeval without defining it

>How-To-Repeat:

	
compile netatalk out of the box

>Fix:
	
	
I included an #include <sys/time.h> in net/if.h - but that's crufty.



Achim
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: steve 
Responsible-Changed-When: Mon Mar 2 17:26:13 PST 1998 
Responsible-Changed-Why:  
Reassign to FreeBSD-bugs. 
Responsible-Changed-From-To: freebsd-bugs->bde 
Responsible-Changed-By: steve 
Responsible-Changed-When: Mon Mar 2 19:00:25 PST 1998 
Responsible-Changed-Why:  
Pass this on to our resident header file guru. :) 
State-Changed-From-To: open->closed 
State-Changed-By: bde 
State-Changed-When: Mon Apr 20 09:31:08 PDT 1998 
State-Changed-Why:  
Already fixed in rev.1.49 of net/if.h 
by including <sys/time.h> - although that's crufty. 
>Unformatted:
