Imported Debian patch 5.1-10
[debian/gcpegg] / reg_orion.c
index d6938ef30dca1810040a0c00f65a9293d8141cfc..ccb1189562b18b1f3d213bc33c45be86d2c1a991 100644 (file)
@@ -147,7 +147,9 @@ fprintf(stderr, "Error in open(%s)\n", ttydev);
 #else
   res = cfsetospeed(&tt, baudcon); 
   cfmakeraw(&tt);
+#if !defined(__FreeBSD_kernel__)
   tt.c_oflag &= (~(TABDLY | ONLCR));
+#endif
 #endif
   res = tcsetattr(TTY_fd, TCSANOW, &tt);