Commit a0639251 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Merge FreeBSD-specific OSS patch from FreeBSD tree

parent 269b70a4
......@@ -34,8 +34,9 @@
#if defined(__OpenBSD__) || defined(__NetBSD__)
#include <soundcard.h>
#elif defined(__FreeBSD__)
#include <machine/soundcard.h>
#else
#include <sys/soundcard.h>
#if defined(__FreeBSD__)
#ifndef AFMT_S16_NE
#include <machine/endian.h>
#if BYTE_ORDER == LITTLE_ENDIAN
......@@ -44,8 +45,7 @@
#define AFMT_S16_NE AFMT_S16_BE
#endif
#endif
#else
#include <sys/soundcard.h>
#endif
#endif
#if defined(__NetBSD__)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment