Revision f0c757e4
b/audio/ossaudio.c | ||
---|---|---|
21 | 21 |
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
22 | 22 |
* THE SOFTWARE. |
23 | 23 |
*/ |
24 |
#include <stdlib.h> |
|
24 | 25 |
#include <sys/mman.h> |
25 | 26 |
#include <sys/types.h> |
26 | 27 |
#include <sys/ioctl.h> |
28 |
#ifdef __OpenBSD__ |
|
29 |
#include <soundcard.h> |
|
30 |
#else |
|
27 | 31 |
#include <sys/soundcard.h> |
32 |
#endif |
|
28 | 33 |
#include "vl.h" |
29 | 34 |
|
30 | 35 |
#define AUDIO_CAP "oss" |
Also available in: Unified diff