diff -up xbase64-3.1.2/xbase64/xbase64.cpp.gcc44 xbase64-3.1.2/xbase64/xbase64.cpp
--- xbase64-3.1.2/xbase64/xbase64.cpp.gcc44	2006-07-17 12:54:42.000000000 -0400
+++ xbase64-3.1.2/xbase64/xbase64.cpp	2009-08-19 23:08:14.724079392 -0400
@@ -66,6 +66,8 @@
 #include <dos.h>
 #endif
 
+#include <cerrno>
+
 
 /*! \file xbase64.cpp
 */
diff -up xbase64-3.1.2/xbase64/xblock.cpp.gcc44 xbase64-3.1.2/xbase64/xblock.cpp
--- xbase64-3.1.2/xbase64/xblock.cpp.gcc44	2009-08-19 23:08:59.408186578 -0400
+++ xbase64-3.1.2/xbase64/xblock.cpp	2009-08-19 23:09:11.416184844 -0400
@@ -65,6 +65,8 @@
 //#include <stdio.h>
 //#include <stdlib.h>
 
+#include <cerrno>
+
 /*! \file xblock.cpp
 */
 #ifdef XB_LOCKING_ON
