From: Mike Gelfand Date: Sat, 4 Apr 2015 18:28:13 +0000 (+0000) Subject: #5910: Fix autotools build (#2) and workaround MSVC bug X-Git-Tag: 2.90~205 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8231b42f8f25b96128d67df2187ca9f649f6984;p=transmission #5910: Fix autotools build (#2) and workaround MSVC bug --- diff --git a/daemon/Makefile.am b/daemon/Makefile.am index cedca9ee6..fc0b7b199 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -35,7 +35,7 @@ LDADD = \ ${LIBM} noinst_HEADERS = \ - daemon.h + daemon.h \ watch.h transmission_daemon_SOURCES = daemon.c watch.c diff --git a/daemon/daemon-win32.c b/daemon/daemon-win32.c index 4b66fce0c..cedbb21d7 100644 --- a/daemon/daemon-win32.c +++ b/daemon/daemon-win32.c @@ -130,7 +130,9 @@ static void stop_service (void) { if (service_stop_thread != NULL) - return; + { + return; + } const DWORD wait_time = 30 * 1000;