Fix FTBFS on freebsd due to utmpx

[taken from FreeBSD kdelibs3 patches]

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit e443c9e0b2)
v3.5.13-sru
Slávek Banko 9 years ago
parent a64a2ffc72
commit e4ef4e00f9

@ -68,7 +68,7 @@
#include <unistd.h>
#include <grp.h>
#ifdef HAVE_LIBUTIL_H
#if defined(HAVE_LIBUTIL_H) && (!defined(__FreeBSD__) || __FreeBSD_version < 900007)
# include <libutil.h>
# define USE_LOGIN
#elif defined(HAVE_UTIL_H)

Loading…
Cancel
Save