From c88e87bc8c6d4ee414533c28b600dff70f5ad62a Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 30 May 2017 21:33:33 +0200 Subject: hw/nxagnet/Atoms.c: In DEBUG mode, we need validateString() which is not statically defined in Utils.h. Thus including it for DEBUG builds. --- nx-X11/programs/Xserver/hw/nxagent/Atoms.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nx-X11') 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. -- cgit v1.2.3