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>
pull/9/head
Slávek Banko 5 years ago
parent 48ca387b65
commit 7209623bd0
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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

Loading…
Cancel
Save