Commit dad663da authored by Daniel Macks's avatar Daniel Macks Committed by Ray Strode

Only access ut_exit if available

This fixes a build failure on OSX.

See http://bugzilla.gnome.org/show_bug.cgi?id=568487
parent 82b84fae
......@@ -322,8 +322,10 @@ gdm_session_record_logout (GPid session_pid,
#elif defined(HAVE_UT_UT_TIME)
u->ut_time = session_record.ut_time;
#endif
#ifdef HAVE_UT_UT_EXIT_E_TERMINATION
u->ut_exit.e_termination = 0;
u->ut_exit.e_exit = 0;
#endif
pututxline (u);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment