aboutsummaryrefslogtreecommitdiff
path: root/xbmc-xrandr.c
diff options
context:
space:
mode:
authorMemphis <memphis@machzwo.de>2012-07-10 01:26:06 +0200
committerMemphis <memphis@machzwo.de>2012-07-10 01:26:06 +0200
commit2b575452e4d7101be940437b29383b360bae6521 (patch)
treefc2854473cd5c7c3afe8c5a7b77ebe2e2d5236bb /xbmc-xrandr.c
parent1769c237ff51dc6a12103c3f4a3d7ae1f1c0f16f (diff)
[xrandr] - fix compilation with 10.04
Diffstat (limited to 'xbmc-xrandr.c')
-rw-r--r--xbmc-xrandr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xbmc-xrandr.c b/xbmc-xrandr.c
index 35b5d1afae..2db9f1e9a2 100644
--- a/xbmc-xrandr.c
+++ b/xbmc-xrandr.c
@@ -39,6 +39,11 @@
#include <stdint.h>
#include <math.h>
+
+#ifndef _X_NORETURN
+#define _X_NORETURN
+#endif
+
static char *program_name;
static Display *dpy;
static Window root;