From 35941dff72f5ba05d249f35b28d8a1199d7a0c2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 21 Apr 2019 16:32:04 +0200 Subject: Fix FTBFS from commit 2c188798. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On Linux, utmp.h is necessary even if utmpx.h is present. Signed-off-by: Slávek Banko (cherry picked from commit 7209623bd0ebf70118983121b6a3b3a32bfae598) --- ktalkd/ktalkd/includ.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ktalkd/ktalkd/includ.h b/ktalkd/ktalkd/includ.h index f26d21be..c36d259b 100644 --- a/ktalkd/ktalkd/includ.h +++ b/ktalkd/ktalkd/includ.h @@ -60,6 +60,9 @@ #elif defined HAVE_UTMP_H #include #endif +#if defined(UTMP_AND_PROC_FIND_USER) and defined(HAVE_UTMP_H) +#include +#endif #ifndef UT_LINESIZE #define UT_LINESIZE 12 #endif -- cgit v1.2.1