Fixed infinite loop for 0-length wavehdrs.
[wine] / dlls / winmm / wineoss / oss.h
1 /* Definition for OSS drivers : wine multimedia system */
2
3 #if defined(HAVE_SYS_SOUNDCARD_H)
4 # include <sys/soundcard.h>
5 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
6 # include <machine/soundcard.h>
7 #elif defined(HAVE_SOUNDCARD_H)
8 # include <soundcard.h>
9 #endif
10
11 #ifdef HAVE_SYS_ERRNO_H
12 #include <sys/errno.h>
13 #endif
14
15 #ifdef SOUND_VERSION
16 #define IOCTL(a,b,c)            ioctl(a,b,&c)
17 #else
18 #define IOCTL(a,b,c)            (c = ioctl(a,b,c))
19 #endif
20
21