Use stropts.h on solaris
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@559 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
4cc35816cb
commit
33c294acd4
2
configure
vendored
2
configure
vendored
@ -265,7 +265,7 @@ if [ -f /usr/include/sys/soundcard.h ]; then
|
||||
echo "SOUNDOBJ = rdpsnd.o rdpsnd_oss.o" >>Makeconf
|
||||
cflags="$cflags -DWITH_RDPSND"
|
||||
elif [ -f /usr/include/sys/audioio.h ]; then
|
||||
echo Sound support enabled: Sun
|
||||
echo Sound support enabled: Sun/BSD
|
||||
echo
|
||||
echo "SOUNDOBJ = rdpsnd.o rdpsnd_sun.o" >>Makeconf
|
||||
cflags="$cflags -DWITH_RDPSND"
|
||||
|
@ -27,6 +27,10 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/audioio.h>
|
||||
|
||||
#if (defined(sun) && (defined(__svr4__) || defined(__SVR4)))
|
||||
#include <stropts.h>
|
||||
#endif
|
||||
|
||||
#define MAX_QUEUE 10
|
||||
|
||||
int g_dsp_fd;
|
||||
|
Loading…
Reference in New Issue
Block a user