From 1081580aa62623a53e31fd4673989b143c52c62d Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 6 Jan 2012 18:50:52 -0800 Subject: [PATCH] examples/sndfileio.c: do not compile if sndfile is missing --- examples/sndfileio.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/sndfileio.c b/examples/sndfileio.c index 6e7c24cf..808553bf 100644 --- a/examples/sndfileio.c +++ b/examples/sndfileio.c @@ -18,6 +18,8 @@ */ +#ifdef HAVE_SNDFILE + #include #include @@ -247,3 +249,4 @@ void aubio_sndfile_info(aubio_sndfile_t * f) { AUBIO_DBG("format : %d\n", f->format); } +#endif /* HAVE_SNDFILE */ -- 2.26.2