lkml.org 
[lkml]   [1996]   [Nov]   [25]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From(Ulf Jaenicke-Roessler)
SubjectTermcap.h problem
DateMon, 25 Nov 1996 10:09:43 +0100 (MET)
Hello everyone,

 I try to compile VIM 4.5. In 'term.c' it includes /usr/include/termcap.h
 In termcap.h the following declaration can be found:

     #ifdef __linux__
     extern speed_t ospeed;
     #else
     extern short ospeed;
     #endif

 This results in an error that should occur in every program that
 includes termcap.h, because speed_t is defined in asm/termbits.h
 and this file is never included if you include termcap.h

 How can this error be avoided? Is this a kernel inconsistency or
 do I have to upgrade some include files?

Thanks,

 Ulf

************************************************************Linux rulez!**
#          _        |  #include "std.disclaimer"                         #
#         :_;       |                                                    #
# .-..-.  .-..--.   |  The probability of someone watching you is        #
# : :; :  : :: ..'  |  proportional to the stupidity of your action.     #
# `.__.'  : ::_;    |                                                    #
#       .-. :       |                mailto:ujr@physik.phy.tu-dresden.de #
#       `._.'       |      finger for PGP key (1024/7695B00D 1996/09/03) #
**************************************************************************

\
 
 \ /
  Last update: 2005-03-22 13:37    [from the cache]
©2003-2008