diff options
-rw-r--r-- | audio/ossaudio.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/ossaudio.c b/audio/ossaudio.c index 125e4c8ff7..cedcea45ff 100644 --- a/audio/ossaudio.c +++ b/audio/ossaudio.c @@ -21,10 +21,15 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include <stdlib.h> #include <sys/mman.h> #include <sys/types.h> #include <sys/ioctl.h> +#ifdef __OpenBSD__ +#include <soundcard.h> +#else #include <sys/soundcard.h> +#endif #include "vl.h" #define AUDIO_CAP "oss" |