diff options
-rw-r--r-- | recordmydesktop/include/rmdtypes.h | 1 | ||||
-rw-r--r-- | recordmydesktop/src/cache_frame.c | 4 | ||||
-rw-r--r-- | recordmydesktop/src/initialize_data.c | 1 | ||||
-rw-r--r-- | recordmydesktop/src/load_cache.c | 1 | ||||
-rw-r--r-- | recordmydesktop/src/poll_events.c | 2 | ||||
-rw-r--r-- | recordmydesktop/src/register_callbacks.c | 1 |
6 files changed, 6 insertions, 4 deletions
diff --git a/recordmydesktop/include/rmdtypes.h b/recordmydesktop/include/rmdtypes.h index 2601211..7fdb59b 100644 --- a/recordmydesktop/include/rmdtypes.h +++ b/recordmydesktop/include/rmdtypes.h @@ -38,7 +38,6 @@ #include <unistd.h> #include <fcntl.h> #include <time.h> -#include <signal.h> #include <sys/time.h> #include <sys/types.h> #ifdef HAVE_MACHINE_ENDIAN_H diff --git a/recordmydesktop/src/cache_frame.c b/recordmydesktop/src/cache_frame.c index d12d57f..f7f1f75 100644 --- a/recordmydesktop/src/cache_frame.c +++ b/recordmydesktop/src/cache_frame.c @@ -24,7 +24,9 @@ * For further information contact me at johnvarouhakis@gmail.com * ******************************************************************************/ -#include <recordmydesktop.h> +#include <signal.h> + +#include "recordmydesktop.h" //minimize hard disk access diff --git a/recordmydesktop/src/initialize_data.c b/recordmydesktop/src/initialize_data.c index 30a0ab8..df30292 100644 --- a/recordmydesktop/src/initialize_data.c +++ b/recordmydesktop/src/initialize_data.c @@ -112,7 +112,6 @@ int InitializeData(ProgData *pdata, pdata->running=1; time_cond=&pdata->time_cond; pause_cond=&pdata->pause_cond; - Running=&pdata->running; PauseStateChanged=0; if(!pdata->args.nosound){ diff --git a/recordmydesktop/src/load_cache.c b/recordmydesktop/src/load_cache.c index 460331b..d25077e 100644 --- a/recordmydesktop/src/load_cache.c +++ b/recordmydesktop/src/load_cache.c @@ -24,6 +24,7 @@ * For further information contact me at johnvarouhakis@gmail.com * ******************************************************************************/ +#include <signal.h> #include "recordmydesktop.h" diff --git a/recordmydesktop/src/poll_events.c b/recordmydesktop/src/poll_events.c index 5cbb16d..c8263df 100644 --- a/recordmydesktop/src/poll_events.c +++ b/recordmydesktop/src/poll_events.c @@ -24,7 +24,6 @@ * For further information contact me at johnvarouhakis@gmail.com * ******************************************************************************/ - #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -34,6 +33,7 @@ #include <X11/Xlib.h> #include <X11/Xlibint.h> #include <X11/extensions/Xdamage.h> +#include <signal.h> #include <pthread.h> #include "rmdfunc.h" diff --git a/recordmydesktop/src/register_callbacks.c b/recordmydesktop/src/register_callbacks.c index 7e9e090..8b96d4b 100644 --- a/recordmydesktop/src/register_callbacks.c +++ b/recordmydesktop/src/register_callbacks.c @@ -24,6 +24,7 @@ * For further information contact me at johnvarouhakis@gmail.com * ******************************************************************************/ +#include <signal.h> #include "recordmydesktop.h" |