summaryrefslogtreecommitdiffstats
path: root/sample.c
diff options
context:
space:
mode:
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 d1c0fb4..60125d6 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;