From eb0b674cabffbf88d756bffdbec52be1b6b47a34 Mon Sep 17 00:00:00 2001 From: iovar Date: Sun, 8 Jul 2007 15:36:15 +0000 Subject: rmdthreads.c: header inclusion changes. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@374 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/src/rmdthreads.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'recordmydesktop') diff --git a/recordmydesktop/src/rmdthreads.c b/recordmydesktop/src/rmdthreads.c index 014a1d6..6e4bf34 100644 --- a/recordmydesktop/src/rmdthreads.c +++ b/recordmydesktop/src/rmdthreads.c @@ -25,7 +25,18 @@ ******************************************************************************/ -#include +#ifdef HAVE_CONFIG_H + #include +#endif + +#include +#include +#include +#include +#include +#include + + void rmdThreads(ProgData *pdata){ pthread_t poll_damage_t, @@ -112,6 +123,7 @@ void rmdThreads(ProgData *pdata){ else pthread_join(image_cache_t,NULL); fprintf(stderr,"."); + if(!pdata->args.nosound){ #ifdef HAVE_JACK_H if(pdata->args.use_jack) @@ -140,6 +152,7 @@ void rmdThreads(ProgData *pdata){ pthread_join(flush_to_ogg_t,NULL); fprintf(stderr,"."); + if(!pdata->args.full_shots) pthread_join(poll_damage_t,NULL); -- cgit v1.2.3