--- ./src/session-child.c.orig 2015-09-08 14:47:47.260663825 -0400 +++ ./src/session-child.c 2015-09-08 14:48:01.578663388 -0400 @@ -198,8 +198,8 @@ } /* GNU provides this but we can't rely on that so let's make our own version */ -static void -updwtmpx (const gchar *wtmp_file, struct utmpx *ut) +void +updwtmpx (const char *wtmp_file, const struct utmpx *ut) { struct utmp u;