OpenBSD fixed for lib/DtSvc.

This commit is contained in:
Pascal Stumpf
2012-08-09 22:51:52 +02:00
committed by Jon Trulson
parent 78053ff2a4
commit 185ec24999
10 changed files with 22 additions and 14 deletions

View File

@@ -36,7 +36,7 @@
#include <bms/stringbuf.h>
#include <termios.h>
#if !defined(linux)
#if !defined(linux) && !defined(CSRG_BASED)
#include <sys/termio.h>
#endif
#include <codelibs/stringx.h>
@@ -145,6 +145,7 @@ static struct modes_s Output_modes[] = {
"OCRNL", OCRNL,
"ONOCR", ONOCR,
"ONLRET", ONLRET,
#if !defined(CSRG_BASED)
"OFILL", OFILL,
"OFDEL", OFDEL,
"NLDLY", NLDLY,
@@ -169,6 +170,7 @@ static struct modes_s Output_modes[] = {
"FFDLY", FFDLY,
"FF0", FF0,
"FF1", FF1,
#endif
END_OF_LIST, 0
};