diff options
Diffstat (limited to 'recordmydesktop/src')
-rw-r--r-- | recordmydesktop/src/cache_audio.c | 2 | ||||
-rw-r--r-- | recordmydesktop/src/cache_frame.c | 1 | ||||
-rw-r--r-- | recordmydesktop/src/capture_sound.c | 2 | ||||
-rw-r--r-- | recordmydesktop/src/encode_cache.c | 2 | ||||
-rw-r--r-- | recordmydesktop/src/encode_sound_buffer.c | 2 | ||||
-rw-r--r-- | recordmydesktop/src/flush_to_ogg.c | 2 | ||||
-rw-r--r-- | recordmydesktop/src/get_frame.c | 7 | ||||
-rw-r--r-- | recordmydesktop/src/getzpixmap.c | 5 | ||||
-rw-r--r-- | recordmydesktop/src/init_encoder.c | 1 | ||||
-rw-r--r-- | recordmydesktop/src/initialize_data.c | 2 | ||||
-rw-r--r-- | recordmydesktop/src/load_cache.c | 1 | ||||
-rw-r--r-- | recordmydesktop/src/queryextensions.c | 2 | ||||
-rw-r--r-- | recordmydesktop/src/rmd_cache.c | 2 | ||||
-rw-r--r-- | recordmydesktop/src/rmd_jack.c | 2 | ||||
-rw-r--r-- | recordmydesktop/src/rmd_rescue.c | 2 | ||||
-rw-r--r-- | recordmydesktop/src/rmd_timer.c | 2 | ||||
-rw-r--r-- | recordmydesktop/src/rmdmacro.h | 2 | ||||
-rw-r--r-- | recordmydesktop/src/rmdthreads.c | 2 | ||||
-rw-r--r-- | recordmydesktop/src/rmdtypes.h | 26 | ||||
-rw-r--r-- | recordmydesktop/src/update_image.c | 4 | ||||
-rw-r--r-- | recordmydesktop/src/wm_check.c | 2 |
21 files changed, 45 insertions, 28 deletions
diff --git a/recordmydesktop/src/cache_audio.c b/recordmydesktop/src/cache_audio.c index 8eb5d65..b74e128 100644 --- a/recordmydesktop/src/cache_audio.c +++ b/recordmydesktop/src/cache_audio.c @@ -24,6 +24,8 @@ * For further information contact me at johnvarouhakis@gmail.com * ******************************************************************************/ +#include <pthread.h> + #include "rmdtypes.h" #include "cache_audio.h" diff --git a/recordmydesktop/src/cache_frame.c b/recordmydesktop/src/cache_frame.c index 1cb3bfa..4e759ae 100644 --- a/recordmydesktop/src/cache_frame.c +++ b/recordmydesktop/src/cache_frame.c @@ -25,6 +25,7 @@ ******************************************************************************/ #include <signal.h> +#include <math.h> #include "rmdtypes.h" diff --git a/recordmydesktop/src/capture_sound.c b/recordmydesktop/src/capture_sound.c index 5f04fb9..da7f742 100644 --- a/recordmydesktop/src/capture_sound.c +++ b/recordmydesktop/src/capture_sound.c @@ -24,6 +24,8 @@ * For further information contact me at johnvarouhakis@gmail.com * ******************************************************************************/ +#include <pthread.h> + #include "rmdtypes.h" #include "capture_sound.h" diff --git a/recordmydesktop/src/encode_cache.c b/recordmydesktop/src/encode_cache.c index e15781c..f949565 100644 --- a/recordmydesktop/src/encode_cache.c +++ b/recordmydesktop/src/encode_cache.c @@ -24,6 +24,8 @@ * For further information contact me at johnvarouhakis@gmail.com * ******************************************************************************/ +#include <pthread.h> + #include "rmdtypes.h" #include "encode_cache.h" diff --git a/recordmydesktop/src/encode_sound_buffer.c b/recordmydesktop/src/encode_sound_buffer.c index b158d86..019a851 100644 --- a/recordmydesktop/src/encode_sound_buffer.c +++ b/recordmydesktop/src/encode_sound_buffer.c @@ -24,6 +24,8 @@ * For further information contact me at johnvarouhakis@gmail.com * ******************************************************************************/ +#include <pthread.h> + #include "rmdtypes.h" #include "encode_sound_buffer.h" diff --git a/recordmydesktop/src/flush_to_ogg.c b/recordmydesktop/src/flush_to_ogg.c index f9585ba..4caf8b9 100644 --- a/recordmydesktop/src/flush_to_ogg.c +++ b/recordmydesktop/src/flush_to_ogg.c @@ -24,6 +24,8 @@ * For further information contact me at johnvarouhakis@gmail.com * ******************************************************************************/ +#include <pthread.h> + #include "rmdtypes.h" #include "encode_image_buffer.h" diff --git a/recordmydesktop/src/get_frame.c b/recordmydesktop/src/get_frame.c index 6648996..a2c3a57 100644 --- a/recordmydesktop/src/get_frame.c +++ b/recordmydesktop/src/get_frame.c @@ -24,6 +24,13 @@ * For further information contact me at johnvarouhakis@gmail.com * ******************************************************************************/ +#include <limits.h> +#include <pthread.h> +#include <sys/shm.h> + +#include <X11/extensions/Xfixes.h> +#include <X11/extensions/XShm.h> + #include "rmdtypes.h" #include "get_frame.h" diff --git a/recordmydesktop/src/getzpixmap.c b/recordmydesktop/src/getzpixmap.c index a303731..9f3bcc8 100644 --- a/recordmydesktop/src/getzpixmap.c +++ b/recordmydesktop/src/getzpixmap.c @@ -24,6 +24,11 @@ * For further information contact me at johnvarouhakis@gmail.com * ******************************************************************************/ +#include <X11/Xlib.h> +#include <X11/Xlibint.h> +#include <X11/extensions/shmstr.h> +#include <X11/extensions/XShm.h> + #include "rmdtypes.h" #include "getzpixmap.h" diff --git a/recordmydesktop/src/init_encoder.c b/recordmydesktop/src/init_encoder.c index 18b1a74..ce36896 100644 --- a/recordmydesktop/src/init_encoder.c +++ b/recordmydesktop/src/init_encoder.c @@ -26,6 +26,7 @@ #include <string.h> +#include <sys/stat.h> #include "rmdtypes.h" diff --git a/recordmydesktop/src/initialize_data.c b/recordmydesktop/src/initialize_data.c index c81bf6c..c67d574 100644 --- a/recordmydesktop/src/initialize_data.c +++ b/recordmydesktop/src/initialize_data.c @@ -24,6 +24,8 @@ * For further information contact me at johnvarouhakis@gmail.com * ******************************************************************************/ +#include <pthread.h> + #include "rmdtypes.h" #include "block_utils.h" diff --git a/recordmydesktop/src/load_cache.c b/recordmydesktop/src/load_cache.c index 8be5dda..b0fe412 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 <pthread.h> #include <signal.h> #include "rmdtypes.h" diff --git a/recordmydesktop/src/queryextensions.c b/recordmydesktop/src/queryextensions.c index 5074d2d..69fa212 100644 --- a/recordmydesktop/src/queryextensions.c +++ b/recordmydesktop/src/queryextensions.c @@ -25,6 +25,8 @@ ******************************************************************************/ #include <X11/extensions/shape.h> +#include <X11/extensions/Xfixes.h> +#include <X11/extensions/Xdamage.h> #include "rmdtypes.h" diff --git a/recordmydesktop/src/rmd_cache.c b/recordmydesktop/src/rmd_cache.c index 4f85292..aa8453e 100644 --- a/recordmydesktop/src/rmd_cache.c +++ b/recordmydesktop/src/rmd_cache.c @@ -24,6 +24,8 @@ * For further information contact me at johnvarouhakis@gmail.com * ******************************************************************************/ +#include <sys/stat.h> + #include "rmdtypes.h" #include "rmd_cache.h" diff --git a/recordmydesktop/src/rmd_jack.c b/recordmydesktop/src/rmd_jack.c index 9717e78..0b07234 100644 --- a/recordmydesktop/src/rmd_jack.c +++ b/recordmydesktop/src/rmd_jack.c @@ -24,6 +24,8 @@ * For further information contact me at johnvarouhakis@gmail.com * ******************************************************************************/ +#include <pthread.h> + #include "rmdtypes.h" #include "rmd_jack.h" diff --git a/recordmydesktop/src/rmd_rescue.c b/recordmydesktop/src/rmd_rescue.c index 382587a..95f23b3 100644 --- a/recordmydesktop/src/rmd_rescue.c +++ b/recordmydesktop/src/rmd_rescue.c @@ -24,6 +24,8 @@ * For further information contact me at johnvarouhakis@gmail.com * ******************************************************************************/ +#include <pthread.h> + #include "rmdtypes.h" #include "block_utils.h" diff --git a/recordmydesktop/src/rmd_timer.c b/recordmydesktop/src/rmd_timer.c index 2059f90..12416f0 100644 --- a/recordmydesktop/src/rmd_timer.c +++ b/recordmydesktop/src/rmd_timer.c @@ -24,11 +24,11 @@ * For further information contact me at johnvarouhakis@gmail.com * ******************************************************************************/ - #ifdef HAVE_CONFIG_H #include "config.h" #endif +#include <pthread.h> #include <stdio.h> #include <stdlib.h> diff --git a/recordmydesktop/src/rmdmacro.h b/recordmydesktop/src/rmdmacro.h index 453fbea..29688e5 100644 --- a/recordmydesktop/src/rmdmacro.h +++ b/recordmydesktop/src/rmdmacro.h @@ -31,6 +31,8 @@ #include "config.h" #endif +#include <limits.h> + #include "rmdtypes.h" diff --git a/recordmydesktop/src/rmdthreads.c b/recordmydesktop/src/rmdthreads.c index d70e3b4..96a37ff 100644 --- a/recordmydesktop/src/rmdthreads.c +++ b/recordmydesktop/src/rmdthreads.c @@ -28,9 +28,9 @@ #include "config.h" #endif +#include <pthread.h> #include <stdio.h> #include <stdlib.h> -#include <pthread.h> #include <unistd.h> #include "cache_audio.h" diff --git a/recordmydesktop/src/rmdtypes.h b/recordmydesktop/src/rmdtypes.h index 5495a6b..8d6f98c 100644 --- a/recordmydesktop/src/rmdtypes.h +++ b/recordmydesktop/src/rmdtypes.h @@ -29,35 +29,9 @@ #include "config.h" #endif - -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <errno.h> -#include <math.h> -#include <unistd.h> -#include <fcntl.h> -#include <time.h> -#include <sys/time.h> -#include <sys/types.h> -#ifdef HAVE_MACHINE_ENDIAN_H - #include <machine/endian.h> -#else - #include <endian.h> -#endif -#include <limits.h> -#include <sys/stat.h> -#include <sys/ipc.h> -#include <sys/shm.h> #include <pthread.h> #include <zlib.h> #include <X11/Xlib.h> -#include <X11/Xlibint.h> -#include <X11/Xatom.h> -#include <X11/extensions/Xfixes.h> -#include <X11/extensions/Xdamage.h> -#include <X11/extensions/XShm.h> -#include <X11/extensions/shmstr.h> #include <theora/theora.h> #include <vorbis/codec.h> #include <vorbis/vorbisenc.h> diff --git a/recordmydesktop/src/update_image.c b/recordmydesktop/src/update_image.c index 2f72fd6..5d52af3 100644 --- a/recordmydesktop/src/update_image.c +++ b/recordmydesktop/src/update_image.c @@ -24,6 +24,10 @@ * For further information contact me at johnvarouhakis@gmail.com * ******************************************************************************/ +#include <X11/Xlibint.h> +#include <X11/extensions/shmstr.h> +#include <X11/extensions/XShm.h> + #include "rmdtypes.h" #include "getzpixmap.h" diff --git a/recordmydesktop/src/wm_check.c b/recordmydesktop/src/wm_check.c index 374680a..558de41 100644 --- a/recordmydesktop/src/wm_check.c +++ b/recordmydesktop/src/wm_check.c @@ -24,6 +24,8 @@ * For further information contact me at johnvarouhakis@gmail.com * ******************************************************************************/ +#include <X11/Xatom.h> + #include "rmdtypes.h" #include "wm_check.h" |