Fix FTBFS on freebsd due to utmpx

[taken from FreeBSD kdelibs3 patches]

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 10 years ago
parent d107d0b0d7
commit e443c9e0b2

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