[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: "Todd C. Miller" <millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Sat, 23 Mar 2002 13:38:10 -0700 (MST)
CVSROOT: /cvs
Module name: src
Changes by: millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2002/03/23 13:38:10
Modified files:
lib/libossaudio: soundcard.h
Log message:
Force inclusion of <sys/ioctl.h> before the body of soundcard.h.
Since soundcard.h #defines ioctl to oss_ioctl we need to see the
ioctl prototype first. This works around a problem exposed by the
__P removal.
A slightly better solution may be to simply replace ioctl() in
libossaudio, calling the real ioctl() via syscall(2) when needed.
Visit your host, monkey.org