[PATCH:xscope 2/3] Don't include Xtrans files if xtrans is disabled

Alan Coopersmith alan.coopersmith at oracle.com
Thu Oct 18 22:37:49 PDT 2012


Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 scope-transport.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/scope-transport.c b/scope-transport.c
index d8acfbb..7721c30 100644
--- a/scope-transport.c
+++ b/scope-transport.c
@@ -4,8 +4,10 @@
 
 extern short debuglevel;
 
+#ifdef USE_XTRANS
 #define DEBUG ((debuglevel & 4) ? 4 : 1)
 #define TRANS_CLIENT
 #define TRANS_SERVER
 #define X11_t
 #include <X11/Xtrans/transport.c>
+#endif
-- 
1.7.9.2



More information about the xorg-devel mailing list