diff -ru barry-0.15.orig/src/base64.cc barry-0.15/src/base64.cc
--- barry-0.15.orig/src/base64.cc 2009-03-03 10:07:23.000000000 +0000
+++ barry-0.15/src/base64.cc 2009-03-03 10:07:52.000000000 +0000
@@ -13,6 +13,7 @@
#include "base64.h"
#include <string>
#include <iterator>
+#include <stdio.h>
#define TRUE 1
#define FALSE 0
diff -ru barry-0.15.orig/src/error.h barry-0.15/src/error.h
--- barry-0.15.orig/src/error.h 2009-03-03 10:07:24.000000000 +0000
+++ barry-0.15/src/error.h 2009-03-03 10:20:31.000000000 +0000
@@ -24,6 +24,7 @@
#include "dll.h"
#include <stdexcept>
+#include <stdint.h>
namespace Barry {
diff -ru barry-0.15.orig/src/record.cc barry-0.15/src/record.cc
--- barry-0.15.orig/src/record.cc 2009-03-03 10:07:23.000000000 +0000
+++ barry-0.15/src/record.cc 2009-03-03 10:30:09.000000000 +0000
@@ -36,6 +36,7 @@
#include <iomanip>
#include <time.h>
#include <string.h>
+#include <stdio.h>
#include <stdexcept>
#define __DEBUG_MODE__