blob: 833ac9b05ed42f0828ba6e67bec002bd9d4ddbad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
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() {
|