mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 08:40:16 +00:00
Change the includes to work on FreeBSD
Linux has sys/soundcard.h, which does a #include <linux/soundcard.h> git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -35,10 +35,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __Darwin__
|
||||
#include <linux/soundcard.h>
|
||||
#else
|
||||
#ifdef __Darwin__
|
||||
#include <CoreAudio/AudioHardware.h>
|
||||
#elif defined(__linux__) || defined(__FreeBSD__)
|
||||
#include <sys/soundcard.h>
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
||||
Reference in New Issue
Block a user