[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
library/718: soundcard.h defines _POSIX_SOURCE which may prevent compiles.
>Synopsis: soundcard.h defines _POSIX_SOURCE which may prevent compiles.
>Arrival-Date: Tue Feb 16 15:20:01 MST 1999
>Originator: Marc Milgram
System : OpenBSD 2.4
Machine : i386
soundcard.h defines _POSIX_SOURCE. If soundcard.h is included
before sys/types.h, u_char will not be defined. If cdio.h is then
included, the compile will not succeed as u_char is not defined.
Compile a file with the following three lines (in order):
Remove the #define _POSIX_SOURCE from soundcard.h; or, after using
_POSIX_SOURCE, undefine _POSIX_SOURCE if it was not previously