diff options
author | Slávek Banko <[email protected]> | 2019-04-21 16:32:04 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-04-21 16:32:04 +0200 |
commit | 7209623bd0ebf70118983121b6a3b3a32bfae598 (patch) | |
tree | 5bc4f1a81f061f698f860d0688e0ae70193681a7 /ktalkd | |
parent | 48ca387b657bd2eebe01830986414947c1910ad2 (diff) | |
download | tdenetwork-7209623bd0ebf70118983121b6a3b3a32bfae598.tar.gz tdenetwork-7209623bd0ebf70118983121b6a3b3a32bfae598.zip |
Fix FTBFS from commit 2c188798.
On Linux, utmp.h is necessary even if utmpx.h is present.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'ktalkd')
-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 |