summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2012-10-18 22:30:13 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2012-10-19 22:11:52 -0700
commit5d77ae6a2646140a28a9c90c5f39bca506277ad2 (patch)
tree29b57b33c18608ced696a3a8a67f7a1f3e12bbc6
parent38bb715cc1f932a5f48d93dd57f21adaa7f6c321 (diff)
downloadxscope-5d77ae6a2646140a28a9c90c5f39bca506277ad2.tar.gz
Don't include Xtrans files if xtrans is disabled
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--scope-transport.c2
1 files changed, 2 insertions, 0 deletions
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