blob: 63e5fa2bdc167cbb86cc5d1c9df11751451df511 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$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)
{
|