diff options
-rw-r--r-- | kdecore/kpty.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kdecore/kpty.cpp b/kdecore/kpty.cpp index 035ca530a..45e9c6ffd 100644 --- a/kdecore/kpty.cpp +++ b/kdecore/kpty.cpp @@ -308,7 +308,7 @@ bool KPty::open() if (d->masterFd >= 0) return true; -#if defined(__OpenBSD__) || defined(__FreeBSD__) +#if defined(HAVE_OPENPTY) char cpty[16]; if (openpty(&d->masterFd, &d->slaveFd, cpty, NULL, &d->winSize) == 0) { |