diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2015-06-11 02:56:00 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-06-11 02:56:00 +0200 |
commit | e443c9e0b29809c1ba0c9133e2fea9cbc30ae937 (patch) | |
tree | 13d7aadaf42da37b4766d635229db47166a92734 /tdecore | |
parent | d107d0b0d758225d0b01429410200f51c91efe54 (diff) | |
download | tdelibs-e443c9e0b29809c1ba0c9133e2fea9cbc30ae937.tar.gz tdelibs-e443c9e0b29809c1ba0c9133e2fea9cbc30ae937.zip |
Fix FTBFS on freebsd due to utmpx
[taken from FreeBSD kdelibs3 patches]
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tdecore')
-rw-r--r-- | tdecore/kpty.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 <unistd.h> #include <grp.h> -#ifdef HAVE_LIBUTIL_H +#if defined(HAVE_LIBUTIL_H) && (!defined(__FreeBSD__) || __FreeBSD_version < 900007) # include <libutil.h> # define USE_LOGIN #elif defined(HAVE_UTIL_H) |