diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-04-21 16:32:04 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-04-21 16:32:18 +0200 |
commit | 35941dff72f5ba05d249f35b28d8a1199d7a0c2a (patch) | |
tree | 002fd8e29afd7554ac1bae5ee6dcadb24b034514 | |
parent | 279d0587697b172f4e5cf53fdb231c9937336966 (diff) | |
download | tdenetwork-35941dff72f5ba05d249f35b28d8a1199d7a0c2a.tar.gz tdenetwork-35941dff72f5ba05d249f35b28d8a1199d7a0c2a.zip |
Fix FTBFS from commit 2c188798.
On Linux, utmp.h is necessary even if utmpx.h is present.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 7209623bd0ebf70118983121b6a3b3a32bfae598)
-rw-r--r-- | ktalkd/ktalkd/includ.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <utmp.h> #endif +#if defined(UTMP_AND_PROC_FIND_USER) and defined(HAVE_UTMP_H) +#include <utmp.h> +#endif #ifndef UT_LINESIZE #define UT_LINESIZE 12 #endif |