$NetBSD: patch-ad,v 1.2 2006/06/25 00:01:44 hubertf Exp $ --- my_pty.c.orig 2006-06-12 21:45:57.000000000 +0200 +++ my_pty.c @@ -75,7 +75,7 @@ int get_pty_and_fork(int *fd_master, int *fd_slave) { -#if defined(__FreeBSD__) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__GNU__) || defined(__GLIBC__) +#if defined(__FreeBSD__) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__GNU__) || defined(__GLIBC__) || defined(__DragonFly__) if (openpty(fd_master, fd_slave, NULL, NULL, NULL) == -1) {