From: Paul Brossier Date: Sat, 7 Jan 2012 02:50:52 +0000 (-0800) Subject: examples/sndfileio.c: do not compile if sndfile is missing X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1081580aa62623a53e31fd4673989b143c52c62d;p=aubio.git examples/sndfileio.c: do not compile if sndfile is missing --- 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 */