summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-utmp.c
blob: fa2750ccd5ba79a0bae3b68d2b4f03f8b19c562a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- gnome-pty-helper/gnome-utmp.c.orig	2012-03-24 17:30:46.000000000 -0400
+++ gnome-pty-helper/gnome-utmp.c	2012-03-24 17:30:25.000000000 -0400
@@ -152,7 +152,7 @@ update_wtmp (char *file, UTMP *putmp)
 #endif /* !HAVE_GETUTMPX */
 
 
-#if defined(HAVE_GETUTMPX)
+#if defined(HAVE_GETUTMPX) || defined(HAVE_GETUTXID)
 static void
 update_utmp (UTMP *ut)
 {
OpenPOWER on IntegriCloud