added #include 'sndfile.h'