NetBSD Problem Report #473

From gnats  Tue Sep 13 08:14:01 1994
Received: from splode.mame.mu.OZ.AU (splode.mame.mu.OZ.AU [128.250.209.121]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id IAA02066 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Tue, 13 Sep 1994 08:13:51 -0700
Message-Id: <199409131357.XAA28340@splode.mame.mu.OZ.AU>
Date: Tue, 13 Sep 1994 23:57:53 +1000
From: matthew green <mrg@splode.mame.mu.OZ.AU>
Reply-To: mrg@splode.mame.mu.OZ.AU
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: bug in sys/timeb.h
X-Send-Pr-Version: 3.2

>Number:         473
>Category:       kern
>Synopsis:       can not include <sys/timeb.h> twice.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 13 08:20:03 +0000 1994
>Closed-Date:    Thu Sep 15 19:17:44 +0000 1994
>Last-Modified:  
>Originator:     matthew green
>Release:        
>Organization:
bozo software foundataion.
>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.
>Release-Note:
>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: jtc
State-Changed-When: Thu Sep 15 19:17:44 1994
State-Changed-Why:
Fixed.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.