diff options
Diffstat (limited to 'net/unison/files/patch-pty.c')
-rw-r--r-- | net/unison/files/patch-pty.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/unison/files/patch-pty.c b/net/unison/files/patch-pty.c new file mode 100644 index 000000000000..833ac9b05ed4 --- /dev/null +++ b/net/unison/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() { |