blob: ac52866d0c79df9168992707b8e473df1e5fbde2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- gpsd-3.10.orig/gpsmon.c 2013-11-21 09:57:44.000000000 +0100
+++ gpsd-3.10/gpsmon.c 2014-03-16 09:08:34.000000000 +0100
@@ -505,6 +505,10 @@ static /*@null@*/ char *curses_get_comma
static char line[80];
int c;
+#ifndef __GLIBC__
+#define CTRL(x) (x&037)
+#endif
+
c = wgetch(cmdwin);
if (c == CTRL('L')) {
(void)clearok(stdscr, true);
|