From bc315e9942a7710daf34685d6285e76e38c2b5b0 Mon Sep 17 00:00:00 2001 From: asvitkine <> Date: Fri, 15 Jun 2012 21:56:52 +0000 Subject: [PATCH] Hopefully make the HAVE_DEV_PTMX path work. --- BasiliskII/src/Unix/sshpty.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BasiliskII/src/Unix/sshpty.c b/BasiliskII/src/Unix/sshpty.c index f44abfbd..e2a7ac31 100644 --- a/BasiliskII/src/Unix/sshpty.c +++ b/BasiliskII/src/Unix/sshpty.c @@ -73,6 +73,10 @@ RCSID("$OpenBSD: sshpty.c,v 1.4 2001/12/19 07:18:56 deraadt Exp $"); #define fatal(x) do { printf("Fatal error: %s", x); return 0; } while(0) #endif /* not in BasiliskII */ +#define mysig_t sig_t +#define mysignal sig +#include + /* Pty allocated with _getpty gets broken if we do I_PUSH:es to it. */ #if defined(HAVE__GETPTY) || defined(HAVE_OPENPTY) #undef HAVE_DEV_PTMX