diff options
author | François Andriot <francois.andriot@free.fr> | 2014-10-18 14:07:17 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-10-18 14:29:19 +0200 |
commit | 1651fcb54a3690cb973fdadbda8e8130da1e351c (patch) | |
tree | 454cd15408294494a11b2e67a1357a7effee8923 /tdm/kfrontend/kgreeter.cpp | |
parent | 71fb8e0e115daa047a514df546d13d294f376840 (diff) | |
download | tdebase-1651fcb54a3690cb973fdadbda8e8130da1e351c.tar.gz tdebase-1651fcb54a3690cb973fdadbda8e8130da1e351c.zip |
Fix conditionnal utmpx support in tdm
Signed-off-by: François Andriot <francois.andriot@free.fr>"
Diffstat (limited to 'tdm/kfrontend/kgreeter.cpp')
-rw-r--r-- | tdm/kfrontend/kgreeter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tdm/kfrontend/kgreeter.cpp b/tdm/kfrontend/kgreeter.cpp index 5ff8d5516..cb38599c1 100644 --- a/tdm/kfrontend/kgreeter.cpp +++ b/tdm/kfrontend/kgreeter.cpp @@ -71,7 +71,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include <fcntl.h> #include <sys/types.h> #include <utmp.h> +#ifdef HAVE_UTMPX #include <utmpx.h> +#endif #include <stdio.h> #include <string.h> |