From 3267398d1505b62a22a8d76c2e44c2b8ae5bea6f Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 2 Sep 2017 16:41:14 -0400 Subject: [PATCH] sndio: Patched to compile if SIO_DEVANY isn't defined. (It isn't in whatever Raspbian is currently shipping.) --- src/audio/sndio/SDL_sndioaudio.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/audio/sndio/SDL_sndioaudio.c b/src/audio/sndio/SDL_sndioaudio.c index 18c260880..45fef5032 100644 --- a/src/audio/sndio/SDL_sndioaudio.c +++ b/src/audio/sndio/SDL_sndioaudio.c @@ -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 *);