channels/chan_oss: Fix compilation problem on SmartOS/Illumos/SunOS
authorMatthew Jordan <mjordan@digium.com>
Thu, 17 Apr 2014 20:23:01 +0000 (20:23 +0000)
committerMatthew Jordan <mjordan@digium.com>
Thu, 17 Apr 2014 20:23:01 +0000 (20:23 +0000)
commitb44d6fe895dc5d243907c2ad923ea0287d279923
tree98f4d545e1791c06c2d864367ca5731e812b15d9
parent90ff85bbfb3dbeddfd5dad52fbe17091b139d560
channels/chan_oss: Fix compilation problem on SmartOS/Illumos/SunOS

THis patch fixes an issue in chan_oss when building on certain platforms. It
ensures that soundcard.h is found.

Review: https://reviewboard.asterisk.org/r/3426

Note that this patch is a part of the patch on ASTERISK-23576; the Makefile
portion only applies to Asterisk 11+.

(issue ASTERISK-23576)
Reported by: Sebastian Wiedenroth
patches:
  fix-sunos.diff uploaded by Sebastian Wiedenroth (License 6597)

git-svn-id: http://svn.asterisk.org/svn/asterisk/branches/1.8@412480 f38db490-d61c-443f-a65b-d21fe96a405b
channels/chan_oss.c