#include <features.h>
#include <sys/types.h>
extern char PC;
extern char *UP;
extern char *BC;
#ifdef __linux__
extern speed_t ospeed;
#else
extern short ospeed;
#endif
In Linux 1.3.77, speed_t is defined in sys/types.h. In 1.3.79 and
beyond, speed_t has been moved to asm/termbits.h. For a quick hack, I
just added an include of <asm/termbits.h> right after the #ifdef
__linux__, but it might be nice if some sort of change made its way
into the offical sources.
-- Michael Meissner, Cygnus Support (East Coast) Suite 105, 48 Grove Street, Somerville, MA 02144, USA meissner@cygnus.com, 617-629-3016 (office), 617-629-3010 (fax)