aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/lib/X11/Pending.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nx-X11/lib/X11/Pending.c b/nx-X11/lib/X11/Pending.c
index 10fa82fd5..dc52c81dc 100644
--- a/nx-X11/lib/X11/Pending.c
+++ b/nx-X11/lib/X11/Pending.c
@@ -24,7 +24,9 @@ in this Software without prior written authorization from The Open Group.
*/
+#if defined(NX_TRANS_SOCKET) && defined(NX_TRANS_TEST)
#include <stdio.h>
+#endif
#ifdef HAVE_CONFIG_H
#include <config.h>