11 lines
509 B
Diff
11 lines
509 B
Diff
--- 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"))
|