Subject: kern/473: bug in sys/timeb.h
To: None <gnats-admin@sun-lamp.cs.berkeley.edu>
From: matthew green <mrg@splode.mame.mu.OZ.AU>
List: netbsd-bugs
Date: 09/13/1994 08:20:04
>Number:         473
>Category:       kern
>Synopsis:       can not include <sys/timeb.h> twice.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 13 08:20:03 1994
>Originator:     matthew green
>Organization:
bozo software foundataion.
>Release:        
>Environment:
	
System: NetBSD splode.mame.mu.OZ.AU 1.0_BETA NetBSD 1.0_BETA (_splode_) #20: Wed Aug 31 19:02:44 EST 1994 mrg@splode.mame.mu.OZ.AU:/splode/src/sys/arch/sparc/compile/_splode_ sparc


>Description:
	there is no protections against multiple inclusions of
	<sys/timeb.h>.
>How-To-Repeat:
	include it twice and watch gcc whinge ;-)
>Fix:
	the normal

#ifndef __sys_timeb_h
#define __sys_timeb_h

..

#endif

around the file should suffice.
>Audit-Trail:
>Unformatted: