summaryrefslogtreecommitdiff
path: root/testing/nxserver/nxcompsh-gcc43.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/nxserver/nxcompsh-gcc43.patch')
-rw-r--r--testing/nxserver/nxcompsh-gcc43.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/nxserver/nxcompsh-gcc43.patch b/testing/nxserver/nxcompsh-gcc43.patch
new file mode 100644
index 000000000..681a0dab5
--- /dev/null
+++ b/testing/nxserver/nxcompsh-gcc43.patch
@@ -0,0 +1,19 @@
+--- nxcompsh/Misc.h~ 2007-06-04 13:39:49.000000000 +0200
++++ nxcompsh/Misc.h 2008-04-12 12:46:24.000000000 +0200
+@@ -18,10 +18,12 @@
+ #ifndef Misc_H
+ #define Misc_H
+
+-#include <iostream.h>
++#include <iostream>
+
+-#include <errno.h>
+-#include <string.h>
++#include <cerrno>
++#include <cstring>
++
++using namespace std;
+
+ //
+ // Error handling macros.
+