summaryrefslogtreecommitdiff
path: root/x11/kdelibs3/files/patch-utmpx
blob: bd15f3cab67598ec0356800c1fe0f5696fa542ee (plain) (blame)
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)