diff options
author | Daniel Macks <dmacks@netspace.org> | 2009-07-16 23:07:45 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2009-07-16 23:07:45 -0400 |
commit | dad663da83d80de4ca6ba03f3784f5afdfeb53ee (patch) | |
tree | 0db0ab5a649f6e77f1364e0fc2be6eb03afd9692 /daemon | |
parent | 82b84fae0912c82cbef7d3b6bfedf934db8047b8 (diff) | |
download | gdm-dad663da83d80de4ca6ba03f3784f5afdfeb53ee.tar.gz |
Only access ut_exit if available
This fixes a build failure on OSX.
See http://bugzilla.gnome.org/show_bug.cgi?id=568487
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/gdm-session-record.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/gdm-session-record.c b/daemon/gdm-session-record.c index cd5de47e..4ed60a10 100644 --- a/daemon/gdm-session-record.c +++ b/daemon/gdm-session-record.c @@ -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); |