summaryrefslogtreecommitdiff
path: root/debian/patches/c++-includes.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/c++-includes.diff')
-rw-r--r--debian/patches/c++-includes.diff36
1 files changed, 36 insertions, 0 deletions
diff --git a/debian/patches/c++-includes.diff b/debian/patches/c++-includes.diff
new file mode 100644
index 0000000..9eada08
--- /dev/null
+++ b/debian/patches/c++-includes.diff
@@ -0,0 +1,36 @@
+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)
+ {