summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/termios.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src/termios.c')
-rw-r--r--cpukit/libcsupport/src/termios.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c
index 648e2c0c3e..0857f0eae7 100644
--- a/cpukit/libcsupport/src/termios.c
+++ b/cpukit/libcsupport/src/termios.c
@@ -25,6 +25,20 @@
#include <unistd.h>
/*
+ * FreeBSD does not support a full POSIX termios so we have to help it out
+ */
+
+
+#if defined(__FreeBSD__)
+#define XTABS 0
+#define ONLRET 0
+#define ONOCR 0
+#define TABDLY 0
+#define OLCUC 0
+#define ILCUC 0
+#endif
+
+/*
* The size of the cooked buffer
*/
#define CBUFSIZE 256