sndio: Patched to compile if SIO_DEVANY isn't defined.

(It isn't in whatever Raspbian is currently shipping.)
Ryan C. Gordon 2017-09-02 16:41:14 -04:00
parent c26946e9f2
commit 3267398d15
1 changed files with 4 additions and 0 deletions

View File

@ -48,6 +48,10 @@
#define INFTIM -1
#endif
#ifndef SIO_DEVANY
#define SIO_DEVANY "default"
#endif
static struct sio_hdl * (*SNDIO_sio_open)(const char *, unsigned int, int);
static void (*SNDIO_sio_close)(struct sio_hdl *);
static int (*SNDIO_sio_setpar)(struct sio_hdl *, struct sio_par *);