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)
pull/16/head
Slávek Banko 10 years ago
parent 30a0743655
commit 50b2ec5046

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

Loading…
Cancel
Save