1diff --git a/xbase64/xbase64.cpp b/xbase64/xbase64.cpp
2index fc5613d..2449535 100644
3--- a/xbase64/xbase64.cpp
4+++ b/xbase64/xbase64.cpp
5@@ -51,6 +51,7 @@
6 #include <xbase64/xbase64.h>
7 #include <ctype.h>
8 #include <string.h>
9+#include <cerrno>
10
11 //#include <xbase64/xbexcept.h>
12
13diff --git a/xbase64/xblock.cpp b/xbase64/xblock.cpp
14index c44cbb9..3554fc1 100644
15--- a/xbase64/xblock.cpp
16+++ b/xbase64/xblock.cpp
17@@ -53,6 +53,7 @@
18 #endif
19
20 #include <xbase64/xbase64.h>
21+#include <cerrno>
22
23 #ifdef HAVE_IO_H // windows locking
24 #include <io.h>
25diff --git a/xbase64/xbnode.cpp b/xbase64/xbnode.cpp
26index 5e688c1..3c652b3 100644
27--- a/xbase64/xbnode.cpp
28+++ b/xbase64/xbnode.cpp
29@@ -1,4 +1,4 @@
30-#include "xbNode.h"
31+#include "xbnode.h"
32
33 void xbNodeLink::AddNode(xbNodeLink* node)
34 {