aboutsummaryrefslogtreecommitdiff
path: root/sample.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2005-08-31 01:29:22 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2005-08-31 01:29:22 +0000
commit9a4a7da811d13d57ea2b01436092d14ae3423d9c (patch)
treeb8e4f70a5b0883c2bdbd52c2177fa4367f9e429c /sample.c
parent8963144850a17aa961b53ad3b036eb71b628d111 (diff)
downloadlibssh-9a4a7da811d13d57ea2b01436092d14ae3423d9c.tar.gz
libssh-9a4a7da811d13d57ea2b01436092d14ae3423d9c.tar.xz
libssh-9a4a7da811d13d57ea2b01436092d14ae3423d9c.zip
cfmakeraw patch for configure.in
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@32 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'sample.c')
-rw-r--r--sample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample.c b/sample.c
index d1c0fb47..60125d60 100644
--- a/sample.c
+++ b/sample.c
@@ -80,7 +80,7 @@ int opts(int argc, char **argv){
return 0;
}
-#ifndef HAVE_PTY_H
+#ifndef HAVE_CFMAKERAW
static void cfmakeraw(struct termios *termios_p){
termios_p->c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
termios_p->c_oflag &= ~OPOST;