summaryrefslogtreecommitdiff
path: root/debian/patches/0110-c++-includes.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0110-c++-includes.diff')
-rw-r--r--debian/patches/0110-c++-includes.diff38
1 files changed, 38 insertions, 0 deletions
diff --git a/debian/patches/0110-c++-includes.diff b/debian/patches/0110-c++-includes.diff
new file mode 100644
index 0000000..764a842
--- /dev/null
+++ b/debian/patches/0110-c++-includes.diff
@@ -0,0 +1,38 @@
+Description: add req. #include
+
+Index: b/xbase64/xbase64.cpp
+===================================================================
+--- a/xbase64/xbase64.cpp
++++ b/xbase64/xbase64.cpp
+@@ -66,6 +66,8 @@
+ #include <dos.h>
+ #endif
+
++#include <cerrno>
++
+
+ /*! \file xbase64.cpp
+ */
+Index: b/xbase64/xblock.cpp
+===================================================================
+--- a/xbase64/xblock.cpp
++++ b/xbase64/xblock.cpp
+@@ -65,6 +65,8 @@
+ //#include <stdio.h>
+ //#include <stdlib.h>
+
++#include <cerrno>
++
+ /*! \file xblock.cpp
+ */
+ #ifdef XB_LOCKING_ON
+Index: b/xbase64/xbnode.cpp
+===================================================================
+--- a/xbase64/xbnode.cpp
++++ b/xbase64/xbnode.cpp
+@@ -1,4 +1,4 @@
+-#include "xbNode.h"
++#include "xbnode.h"
+
+ void xbNodeLink::AddNode(xbNodeLink* node)
+ {