summaryrefslogtreecommitdiff
path: root/net/unison/patches/patch-ac
blob: 39963c72f4c56a7ebdf759c18a1f18fa1a4f8edb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ac,v 1.5 2008/07/25 20:03:03 tonio Exp $

--- pty.c.orig	2007-04-13 16:30:01.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