summary refs log tree commit diff
path: root/Src/Modules/zpty.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <baptiste.daroussin@gmail.com>2015-06-02 07:47:25 +0200
committerPeter Stephenson <pws@zsh.org>2015-06-02 09:21:24 +0100
commitaab6bdc3661e83216d2e4bc58948ed21d394d3f5 (patch)
tree4c5771e96485f2c239ed2d619b071b6f71e98932 /Src/Modules/zpty.c
parent93e72ed1e9ef573e3bb9cd95d67233df46d33973 (diff)
downloadzsh-aab6bdc3661e83216d2e4bc58948ed21d394d3f5.tar.gz
zsh-aab6bdc3661e83216d2e4bc58948ed21d394d3f5.tar.xz
zsh-aab6bdc3661e83216d2e4bc58948ed21d394d3f5.zip
35357: FreeBSD needs HAVE_POSIX_OPENPT for zpty
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 7b6130c6f..a77b0df75 100644
--- a/Src/Modules/zpty.c
+++ b/Src/Modules/zpty.c
@@ -154,7 +154,7 @@ getptycmd(char *name)
     return NULL;
 }
 
-#ifdef USE_DEV_PTMX
+#if defined(USE_DEV_PTMX) || defined(HAVE_POSIX_OPENPT)
 
 #ifdef HAVE_SYS_STROPTS_H
 #include <sys/stropts.h>