diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-07-08 15:32:22 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-07-08 15:32:22 +0000 |
commit | 80f8810b4eb1fe61dad842b197e410eb5ded5f1d (patch) | |
tree | 5bcc8bf5c15f7a491fcef27200c555fab0a6b9a0 /recordmydesktop/src/poll_damage.c | |
parent | deb51c71becc145137d17a1132388933e0d0b035 (diff) |
poll_damage.c: header inclusion changes
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@371 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src/poll_damage.c')
-rw-r--r-- | recordmydesktop/src/poll_damage.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/recordmydesktop/src/poll_damage.c b/recordmydesktop/src/poll_damage.c index 8f6dbf3..f388a14 100644 --- a/recordmydesktop/src/poll_damage.c +++ b/recordmydesktop/src/poll_damage.c @@ -25,7 +25,19 @@ ******************************************************************************/ -#include <recordmydesktop.h> +#ifdef HAVE_CONFIG_H + #include <config.h> +#endif + +#include <stdio.h> +#include <stdlib.h> +#include <X11/Xlib.h> +#include <X11/Xlibint.h> +#include <X11/extensions/Xdamage.h> +#include <pthread.h> +#include <rmdfunc.h> +#include <rmdtypes.h> +#include <rmdmacro.h> int rmdErrorHandler( Display *dpy, XErrorEvent *e ) { @@ -104,6 +116,7 @@ void *PollDamage(ProgData *pdata){ } } + pthread_exit(&errno); } |