mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 00:24:05 +00:00
surprising as it may be, chan_oss compiles correctly under cygwin as well,
provided you look for soundcard.h in the right place... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -35,7 +35,6 @@
|
|||||||
|
|
||||||
/*** MODULEINFO
|
/*** MODULEINFO
|
||||||
<depend>ossaudio</depend>
|
<depend>ossaudio</depend>
|
||||||
<conflict>winarch</conflict>
|
|
||||||
***/
|
***/
|
||||||
|
|
||||||
#include "asterisk.h"
|
#include "asterisk.h"
|
||||||
@@ -48,7 +47,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
|||||||
|
|
||||||
#ifdef __linux
|
#ifdef __linux
|
||||||
#include <linux/soundcard.h>
|
#include <linux/soundcard.h>
|
||||||
#elif defined(__FreeBSD__)
|
#elif defined(__FreeBSD__) || defined(__CYGWIN__)
|
||||||
#include <sys/soundcard.h>
|
#include <sys/soundcard.h>
|
||||||
#else
|
#else
|
||||||
#include <soundcard.h>
|
#include <soundcard.h>
|
||||||
|
Reference in New Issue
Block a user