From aa2388c975b0e3741599f89358e5fa8e11f57e23 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 2 Jun 2015 07:44:09 +0200 Subject: [PATCH] Allow to use the get_pty code using posix_openpt on systems without /dev/ptmx --- Src/Modules/zpty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Modules/zpty.c b/Src/Modules/zpty.c index 7b6130c..a77b0df 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 -- 2.4.2