mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +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
|
||||
<depend>ossaudio</depend>
|
||||
<conflict>winarch</conflict>
|
||||
***/
|
||||
|
||||
#include "asterisk.h"
|
||||
@@ -48,7 +47,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
|
||||
#ifdef __linux
|
||||
#include <linux/soundcard.h>
|
||||
#elif defined(__FreeBSD__)
|
||||
#elif defined(__FreeBSD__) || defined(__CYGWIN__)
|
||||
#include <sys/soundcard.h>
|
||||
#else
|
||||
#include <soundcard.h>
|
||||
|
Reference in New Issue
Block a user