summaryrefslogtreecommitdiffstats
path: root/tdm/kfrontend/kgreeter.cpp
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2014-10-18 14:07:17 +0200
committerSlávek Banko <[email protected]>2014-10-18 14:29:19 +0200
commit1651fcb54a3690cb973fdadbda8e8130da1e351c (patch)
tree454cd15408294494a11b2e67a1357a7effee8923 /tdm/kfrontend/kgreeter.cpp
parent71fb8e0e115daa047a514df546d13d294f376840 (diff)
downloadtdebase-1651fcb54a3690cb973fdadbda8e8130da1e351c.tar.gz
tdebase-1651fcb54a3690cb973fdadbda8e8130da1e351c.zip
Fix conditionnal utmpx support in tdm
Signed-off-by: François Andriot <[email protected]>"
Diffstat (limited to 'tdm/kfrontend/kgreeter.cpp')
-rw-r--r--tdm/kfrontend/kgreeter.cpp2
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>