blob: ce6648984551bd68713736fb1b1b13d87103d1f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/examples/rlfe/pty.c
+++ b/examples/rlfe/pty.c
@@ -133,7 +133,7 @@ int f;
{
if (f < 0)
return;
-#if defined(I_PUSH) && defined(HAVE_SVR4_PTYS) && !defined(sgi) && !defined(linux) && !defined(__osf__) && !defined(M_UNIX)
+#if defined(I_PUSH) && defined(HAVE_SVR4_PTYS) && !defined(sgi) && !defined(linux) && !defined(__osf__) && !defined(M_UNIX) && !defined(__FreeBSD_kernel__)
if (ioctl(f, I_PUSH, "ptem"))
Panic(errno, "InitPTY: cannot I_PUSH ptem");
if (ioctl(f, I_PUSH, "ldterm"))
|