From owner-freebsd-hackers Wed Apr 16 13:04:01 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA22070 for hackers-outgoing; Wed, 16 Apr 1997 13:04:01 -0700 (PDT) Received: from hda.hda.com (hda-bicnet.bicnet.net [207.198.1.121]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA22035 for ; Wed, 16 Apr 1997 13:03:54 -0700 (PDT) Received: (from dufault@localhost) by hda.hda.com (8.8.5/8.8.5) id PAA14023 for hackers@freebsd.org; Wed, 16 Apr 1997 15:51:19 -0400 (EDT) From: Peter Dufault Message-Id: <199704161951.PAA14023@hda.hda.com> Subject: struct timespec is in the wrong place To: hackers@freebsd.org Date: Wed, 16 Apr 1997 15:51:18 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Struct timespec is added to time.h in posix.4. We've already got it in sys/time.h. By rights it should appear in time.h and only if _POSIX_VERSION is > 199309 and either _POSIX_C_SOURCE is undefined or > 199309. I'm thinking of adding sys/timespec.h and including that in both sys/time.h and time.h, properly ifdef'd in time.h. Comments? -- Peter Dufault (dufault@hda.com) Realtime Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936