aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/003_nxcompshad-gcc43.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/003_nxcompshad-gcc43.patch')
-rw-r--r--debian/patches/003_nxcompshad-gcc43.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/003_nxcompshad-gcc43.patch b/debian/patches/003_nxcompshad-gcc43.patch
new file mode 100644
index 000000000..c16a5c154
--- /dev/null
+++ b/debian/patches/003_nxcompshad-gcc43.patch
@@ -0,0 +1,26 @@
+--- a/nxcompshad/Logger.h
++++ b/nxcompshad/Logger.h
+@@ -18,8 +18,8 @@
+ #ifndef Logger_H
+ #define Logger_H
+
+-#include <errno.h>
+-#include <stdarg.h>
++#include <cerrno>
++#include <cstdarg>
+
+ //
+ // Error handling macros.
+--- a/nxcompshad/Misc.h
++++ b/nxcompshad/Misc.h
+@@ -20,8 +20,8 @@
+
+ #include <iostream>
+
+-#include <errno.h>
+-#include <string.h>
++#include <cerrno>
++#include <cstring>
+
+ using namespace std;
+