Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libedit/readline Include "sys/ttydefaults.h" to get stan...



details:   https://anonhg.NetBSD.org/src/rev/27c6b23452e6
branches:  trunk
changeset: 551991:27c6b23452e6
user:      tron <tron%NetBSD.org@localhost>
date:      Mon Sep 15 11:33:33 2003 +0000

description:
Include "sys/ttydefaults.h" to get standard definition of "CTRL" macro
which avoids clash with custom one.

diffstat:

 lib/libedit/readline/readline.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 7b11af0a8c0a -r 27c6b23452e6 lib/libedit/readline/readline.h
--- a/lib/libedit/readline/readline.h   Mon Sep 15 08:31:01 2003 +0000
+++ b/lib/libedit/readline/readline.h   Mon Sep 15 11:33:33 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: readline.h,v 1.6 2003/09/15 01:29:36 christos Exp $    */
+/*     $NetBSD: readline.h,v 1.7 2003/09/15 11:33:33 tron Exp $        */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -71,6 +71,7 @@
 
 #ifndef CTRL
 #include <sys/ioctl.h>
+#include <sys/ttydefaults.h>
 #ifndef CTRL
 #define CTRL(c)                ((c) & 037)
 #endif



Home | Main Index | Thread Index | Old Index