From 9dde37eadb82de6d171a507aecfca990991845b4 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 7 Aug 2017 00:25:18 -0400 Subject: [PATCH] sndio: Fix for some platforms (Linux, for example) that don't define INFTIM. Fixes Bugzilla #3712. --- 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 e74cdce60..18c260880 100644 --- a/src/audio/sndio/SDL_sndioaudio.c +++ b/src/audio/sndio/SDL_sndioaudio.c @@ -44,6 +44,10 @@ #include "SDL_loadso.h" #endif +#ifndef INFTIM +#define INFTIM -1 +#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 *);