1 2 3 4 5 6 7 8 9 10 11
--- kdecore/kpty.cpp +++ kdecore/kpty.cpp @@ -68,7 +68,7 @@ #include <unistd.h> #include <grp.h> -#ifdef HAVE_LIBUTIL_H +#if defined(HAVE_LIBUTIL_H) && __FreeBSD_version < 900007 # include <libutil.h> # define USE_LOGIN #elif defined(HAVE_UTIL_H)