aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/NXshm.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-01-18 14:03:54 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-05-07 14:57:15 +0200
commit6d96798865838744966b897bca6cc2db2d6cfaff (patch)
treec83b83c4193704ed067b2d85a15340a59d294521 /nx-X11/programs/Xserver/hw/nxagent/NXshm.c
parent679e11182c22bcb2408daf784d32586537a9580b (diff)
downloadnx-libs-6d96798865838744966b897bca6cc2db2d6cfaff.tar.gz
nx-libs-6d96798865838744966b897bca6cc2db2d6cfaff.tar.bz2
nx-libs-6d96798865838744966b897bca6cc2db2d6cfaff.zip
Literals.h: always include in compilation
This change ensures Literals.h is always referenced during compilation, effectively hiding it from "unused file" detection we do occasionally to clean up the source code.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/NXshm.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXshm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXshm.c b/nx-X11/programs/Xserver/hw/nxagent/NXshm.c
index 83deb74c4..33f093ba2 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXshm.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXshm.c
@@ -70,9 +70,7 @@ in this Software without prior written authorization from The Open Group.
#undef TEST
#undef DEBUG
-#ifdef TEST
#include "Literals.h"
-#endif
extern void fbGetImage(DrawablePtr pDrw, int x, int y, int w, int h,
unsigned int format, unsigned long planeMask, char *d);