summaryrefslogtreecommitdiff
path: root/net/unison232/files/patch-pty.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-01-26 17:31:57 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-01-26 17:31:57 +0000
commiteea207b065171056983e77cc199176e62ff320d9 (patch)
treeedd2d6ba38278be9a83f4dd4945ec7558039ffd9 /net/unison232/files/patch-pty.c
parentReset maintainer (diff)
- Update to 2.10.2
PR: Alexander S. Usov <usov@kvi.nl> Approved by: Dan Pelleg <daniel+gnats@pelleg.org> (maintainer)
Diffstat (limited to 'net/unison232/files/patch-pty.c')
-rw-r--r--net/unison232/files/patch-pty.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/unison232/files/patch-pty.c b/net/unison232/files/patch-pty.c
new file mode 100644
index 000000000000..833ac9b05ed4
--- /dev/null
+++ b/net/unison232/files/patch-pty.c
@@ -0,0 +1,13 @@
+--- pty.c.orig Sun Jan 23 19:55:28 2005
++++ pty.c Sun Jan 23 19:56:28 2005
+@@ -32,6 +32,10 @@
+ #ifdef __APPLE__
+ #include <util.h> // openpty
+ #endif
++#ifdef __FreeBSD__
++#include <sys/types.h>
++#include <libutil.h>
++#endif
+
+ /* c_openpty: unit -> (int * Unix.file_descr) */
+ CAMLprim value c_openpty() {