summaryrefslogtreecommitdiff
path: root/randr
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2009-01-05 17:41:38 +0200
committerDaniel Stone <daniel@fooishbar.org>2009-01-05 17:41:38 +0200
commite351d10773742d1570e1111976b7c8b6adda5ae6 (patch)
tree2c529d086eb07022d136ac5a2cd1c094aded36b7 /randr
parent3387cbb7c13636eb62b22640d28df7011c2268f0 (diff)
RandR: Only export Xinerama symbols when building Xinerama support
Otherwise compilation fails due to sdksyms. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'randr')
-rw-r--r--randr/randrstr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/randr/randrstr.h b/randr/randrstr.h
index be596d4e8..9e7bbf3e7 100644
--- a/randr/randrstr.h
+++ b/randr/randrstr.h
@@ -889,8 +889,10 @@ extern _X_EXPORT int
ProcRRDeleteOutputProperty (ClientPtr client);
/* rrxinerama.c */
+#ifdef XINERAMA
extern _X_EXPORT void
RRXineramaExtensionInit(void);
+#endif
#endif /* _RANDRSTR_H_ */