OpenBSD fixes for lib/DtTerm: values.h, #ifdef's and some constants that are not defined on BSD. Also, leave out utmp stuff that does not work on BSD. Note that this terminal allocation does not work properly yet, but this will be fixed later.

This commit is contained in:
Pascal Stumpf
2012-08-09 23:53:47 +02:00
committed by Jon Trulson
parent f5a8836bff
commit 19647809e4
9 changed files with 43 additions and 8 deletions

View File

@@ -47,7 +47,11 @@ static char rcs_id[] = "$TOG: TermPrimParser.c /main/2 1999/10/15 12:23:41 mgree
*/
#undef MAXINT
#endif
#include <values.h>
#if defined(CSRG_BASED)
#define MAXINT INT_MAX
#else
#include <values.h>
#endif
#ifdef BBA
#pragma BBA_IGNORE