about summary refs log tree commit diff
path: root/Src/Modules/zpty.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-08-24 10:18:56 +0100
committerPeter Stephenson <pws@zsh.org>2015-08-24 10:18:56 +0100
commit2bc4680e3b3973451b9449f970de35afdb105c37 (patch)
tree0f51ad15656a74b98d27b923e76110365a99cb7b /Src/Modules/zpty.c
parente5d5a76dce1cc488627c8623f0cd972c3d52644d (diff)
parent2e69ece5cfab850b8ba00b272f35ccdaf727c781 (diff)
downloadzsh-2bc4680e3b3973451b9449f970de35afdb105c37.tar.gz
zsh-2bc4680e3b3973451b9449f970de35afdb105c37.tar.xz
zsh-2bc4680e3b3973451b9449f970de35afdb105c37.zip
Merge branch 'master' of https://git.code.sf.net/p/zsh/code
Diffstat (limited to 'Src/Modules/zpty.c')
-rw-r--r--Src/Modules/zpty.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Modules/zpty.c b/Src/Modules/zpty.c
index 12e42b5bd..9741ee287 100644
--- a/Src/Modules/zpty.c
+++ b/Src/Modules/zpty.c
@@ -154,7 +154,8 @@ getptycmd(char *name)
     return NULL;
 }
 
-#ifdef USE_DEV_PTMX
+/* posix_openpt() seems to have some problem on OpenBSD */
+#if defined(USE_DEV_PTMX) && !defined(__OpenBSD__)
 
 #ifdef HAVE_SYS_STROPTS_H
 #include <sys/stropts.h>