summaryrefslogtreecommitdiff
blob: c7b2a2b6455409a646b583748cd60dd959dd1fcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/con_linux.cpp.orig	2005-01-30 22:46:54.170485296 +0300
+++ src/con_linux.cpp	2005-01-30 22:46:28.859333176 +0300
@@ -50,7 +50,11 @@
 #include <linux/major.h>
 #include <linux/kdev_t.h>
 #include <linux/kd.h>
+extern "C" {
+#define new xnew
 #include <linux/keyboard.h>
+#undef new
+}
 #ifdef USE_GPM
 extern "C" {
 #include <gpm.h>