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 7209623bd0)
pull/38/head
Slávek Banko 6 years ago
parent 279d058769
commit 35941dff72
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