Subject: Re: soundcard.h and _POSIX_SOURCE
To: Krister Walfridsson <>
From: Erik Bertelsen <>
List: tech-userlevel
Date: 03/18/1999 07:21:35
On Wed, Mar 17, 1999 at 10:13:37PM +0100, Krister Walfridsson wrote:
> I have a problem with soundcard.h -- it defines _POSIX_SOURCE to prevent
> dragging in a lot of junk when including machine/endian.h. This may

Just a question: Isn't _POSIX_SOURCE intended to be used at the top of
a .c file --before-- including any header to declare it intent just to
use Posix conformant features ?

In that case I consider it a bug for any header to define _POSIX_SOURCE on
its own.

- Erik Bertelsen