aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2016-10-07 21:19:07 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-10-13 14:05:20 +0200
commit97c26978b23d85439e5dbeea26520b982ebf8473 (patch)
treec772b2733e4b1d7c4fb14ac783c245c715577dfa
parent0bf52dc991cd8acd2ab2fdcf43d21863ce1bc1e1 (diff)
downloadnx-libs-97c26978b23d85439e5dbeea26520b982ebf8473.tar.gz
nx-libs-97c26978b23d85439e5dbeea26520b982ebf8473.tar.bz2
nx-libs-97c26978b23d85439e5dbeea26520b982ebf8473.zip
Pending.c: conditionally include stdio.h
-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>