--- binwrap.cpp.0	2003-03-08 11:02:34 -0500
+++ binwrap.cpp	2012-07-01 20:28:48 -0400
@@ -17,6 +17,7 @@
  * Copyright (C) 2002, 2003 Simon Peter <dn.tlp@gmx.net>
  */
 
+#include <cstdio>
 #include "binwrap.h"
 
 #if BINIO_ENABLE_IOSTREAM
