X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=readline%2Ftcap.h;h=dbc1789a8cbe65102f85ca7692884e914e82219f;hb=f67c0c9171508672167b6868c67211571421a1c6;hp=acb2d76ab486d4668c6e2cfbdaf0c215c3ecbd25;hpb=cd946cff9ede3f30935803403f06f6ed30cad136;p=deliverable%2Fbinutils-gdb.git
diff --git a/readline/tcap.h b/readline/tcap.h
index acb2d76ab4..dbc1789a8c 100644
--- a/readline/tcap.h
+++ b/readline/tcap.h
@@ -1,25 +1,23 @@
/* tcap.h -- termcap library functions and variables. */
-/* Copyright (C) 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2009 Free Software Foundation, Inc.
- This file contains the Readline Library (the Library), a set of
- routines for providing Emacs style line input to programs that ask
- for it.
+ This file is part of the GNU Readline Library (Readline), a library
+ for reading lines of text with interactive input and history editing.
- The Library is free software; you can redistribute it and/or modify
+ Readline is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 1, or (at your option)
- any later version.
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
- The Library is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
+ Readline is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
- The GNU General Public License is often shipped with GNU software, and
- is generally kept in a file called COPYING or LICENSE. If you do not
- have a copy of the license, write to the Free Software Foundation,
- 675 Mass Ave, Cambridge, MA 02139, USA. */
+ You should have received a copy of the GNU General Public License
+ along with Readline. If not, see .
+*/
#if !defined (_RLTCAP_H_)
#define _RLTCAP_H_
@@ -33,6 +31,8 @@
# include "rltty.h"
# endif
# include
+#elif defined (HAVE_NCURSES_TERMCAP_H)
+# include
#else
/* On Solaris2, sys/types.h #includes sys/reg.h, which #defines PC.