commit 36103cc2bc933d623738ec8a3b82b246196e0f43 parent a7890e31e6a64dbfd6a162a3813cc03c11b937a0 Author: Paul <paul@claws-mail.org> Date: Tue, 9 Jan 2018 12:33:05 +0000 fix bug 3947, 'Build break with --disable-libsm --enable-crash-dialog' Diffstat:
| M | src/main.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main.c b/src/main.c @@ -161,7 +161,7 @@ static DBusGProxy *awn_proxy = NULL; #endif gchar *prog_version; -#ifdef HAVE_LIBSM +#if (defined HAVE_LIBSM || defined CRASH_DIALOG) gchar *argv0; #endif @@ -1009,7 +1009,7 @@ int main(int argc, char *argv[]) } prog_version = PROG_VERSION; -#ifdef HAVE_LIBSM +#if (defined HAVE_LIBSM || defined CRASH_DIALOG) argv0 = g_strdup(argv[0]); #endif