aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-05-30 21:33:33 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-06-30 16:21:00 +0200
commitc88e87bc8c6d4ee414533c28b600dff70f5ad62a (patch)
treedc728196ca791e80987d7f2779f36b606d0221bb /nx-X11
parent3d255540f40b7e60dfee0807216a7705a1e9682a (diff)
downloadnx-libs-c88e87bc8c6d4ee414533c28b600dff70f5ad62a.tar.gz
nx-libs-c88e87bc8c6d4ee414533c28b600dff70f5ad62a.tar.bz2
nx-libs-c88e87bc8c6d4ee414533c28b600dff70f5ad62a.zip
hw/nxagnet/Atoms.c: In DEBUG mode, we need validateString() which is not statically defined in Utils.h. Thus including it for DEBUG builds.
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Atoms.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
index 0784d6c2c..9bcdee628 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
@@ -53,6 +53,11 @@
#undef TEST
#undef DEBUG
+#ifdef DEBUG
+/* for validateString() */
+#include "Utils.h"
+#endif
+
/*
* These values should be moved in
* the option repository.