ports/net/unison/files/patch-pty.c
Pav Lucistnik eea207b065 - Update to 2.10.2
PR:		Alexander S. Usov <usov@kvi.nl>
Approved by:	Dan Pelleg <daniel+gnats@pelleg.org> (maintainer)
2005-01-26 17:31:57 +00:00

13 lines
315 B
C

--- 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() {