--- ofdstreambuf/ofdstreambuf.orig	2013-11-13 11:44:53.000000000 +0100
+++ ofdstreambuf/ofdstreambuf	2013-11-27 14:45:13.000000000 +0100
@@ -1,6 +1,10 @@
 #ifndef INCLUDED_BOBCAT_OFDSTREAMBUF_
 #define INCLUDED_BOBCAT_OFDSTREAMBUF_
 
+#ifdef __FreeBSD__
+#include <stdio.h>
+#endif
+
 #include <streambuf>
 
 namespace FBB
