blob: 974a055f699277dfc580698232131922946bbec0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ac,v 1.7 2007/04/08 22:46:36 tonio Exp $
--- pty.c.orig 2007-04-02 05:03:20.000000000 +0200
+++ pty.c
@@ -15,7 +15,7 @@ extern void uerror (char * cmdname, valu
#define HAS_OPENPTY 1
#endif
-#ifdef __APPLE__
+#if defined(__APPLE__) || defined(__NetBSD__)
#include <util.h>
#define HAS_OPENPTY 1
#endif
|