13 lines
469 B
Text
13 lines
469 B
Text
$NetBSD: patch-ac,v 1.3 2006/05/12 12:26:58 joerg Exp $
|
|
|
|
--- mustek/device.c.orig 2006-05-12 11:09:50.000000000 +0000
|
|
+++ mustek/device.c
|
|
@@ -59,7 +59,7 @@ int mdc800_device_setupDevice (fd, baud)
|
|
newtio.c_cflag = (newtio.c_cflag & ~CSIZE) | CS8;
|
|
|
|
// Set into raw, no echo mode
|
|
- #if defined(__NetBSD__)
|
|
+ #if defined(__NetBSD__) || defined(__DragonFly__)
|
|
newtio.c_iflag &= ~(IGNBRK | IGNCR | INLCR | ICRNL |
|
|
IXANY | IXON | IXOFF | INPCK | ISTRIP);
|
|
#else
|