about summary refs log tree commit diff
path: root/Src/Modules/zpty.c
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2015-06-03 23:53:47 +0200
committerOliver Kiddle <opk@zsh.org>2015-06-03 23:54:09 +0200
commit4804a7c5ff144fc7cc974484d16f2f88cc131264 (patch)
tree7bbb254d5d427818e8dd5dd43b086d21ced2f81b /Src/Modules/zpty.c
parentbfac7f09df6224581dcd66c30e78a440ed22b812 (diff)
downloadzsh-4804a7c5ff144fc7cc974484d16f2f88cc131264.tar.gz
zsh-4804a7c5ff144fc7cc974484d16f2f88cc131264.tar.xz
zsh-4804a7c5ff144fc7cc974484d16f2f88cc131264.zip
35360 (replacing 35357): fix for configuring zpty on FreeBSD without
pty.ko loaded
Diffstat (limited to 'Src/Modules/zpty.c')
-rw-r--r--Src/Modules/zpty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/zpty.c b/Src/Modules/zpty.c
index a77b0df75..7b6130c6f 100644
--- a/Src/Modules/zpty.c
+++ b/Src/Modules/zpty.c
@@ -154,7 +154,7 @@ getptycmd(char *name)
     return NULL;
 }
 
-#if defined(USE_DEV_PTMX) || defined(HAVE_POSIX_OPENPT)
+#ifdef USE_DEV_PTMX
 
 #ifdef HAVE_SYS_STROPTS_H
 #include <sys/stropts.h>