lkml.org 
[lkml]   [1996]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectTermcap.h problem
Date


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    [W:0.032 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site