From e443c9e0b29809c1ba0c9133e2fea9cbc30ae937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 11 Jun 2015 02:56:00 +0200 Subject: [PATCH] Fix FTBFS on freebsd due to utmpx [taken from FreeBSD kdelibs3 patches] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- tdecore/kpty.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdecore/kpty.cpp b/tdecore/kpty.cpp index 7f27f02f8..727166d87 100644 --- a/tdecore/kpty.cpp +++ b/tdecore/kpty.cpp @@ -68,7 +68,7 @@ #include #include -#ifdef HAVE_LIBUTIL_H +#if defined(HAVE_LIBUTIL_H) && (!defined(__FreeBSD__) || __FreeBSD_version < 900007) # include # define USE_LOGIN #elif defined(HAVE_UTIL_H)