diff -rupN a/src/codec_fluidsynth.cpp b/src/codec_fluidsynth.cpp
--- a/src/codec_fluidsynth.cpp	2011-07-29 08:37:48.000000000 +0000
+++ b/src/codec_fluidsynth.cpp	2014-01-03 10:42:13.280792235 +0000
@@ -32,7 +32,7 @@
 #endif
 
 #include <istream>
-
+#include <unistd.h>
 #include <fluidsynth.h>
 
 
