aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2016-10-15 17:51:11 +0200
committerUlrich Sibiller <u.sibiller@science-computing.de>2016-10-20 10:16:35 +0200
commitae8ec6b14e05909ede894a51c9faa035c2893e8c (patch)
tree0664a65a1a2ffd7da4af898e59fef95e7e23e706
parentda01dc8da1aedb1f75d62c03748a239c54b14483 (diff)
downloadnx-libs-ae8ec6b14e05909ede894a51c9faa035c2893e8c.tar.gz
nx-libs-ae8ec6b14e05909ede894a51c9faa035c2893e8c.tar.bz2
nx-libs-ae8ec6b14e05909ede894a51c9faa035c2893e8c.zip
Fix libX11 implicit declaration warnings
all _X11Trans* functions lead to a warnign like this: implicit declaration of function ‘_X11TransOpenCOTSClient’ [-Wimplicit-function-declaration] Fix it by partly reverting d3ae0b2c9559e70448746240caaf5634c78d0eef (which removed too much)
-rw-r--r--nx-X11/lib/X11/Imakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/lib/X11/Imakefile b/nx-X11/lib/X11/Imakefile
index 8549f69cd..e9ee564cd 100644
--- a/nx-X11/lib/X11/Imakefile
+++ b/nx-X11/lib/X11/Imakefile
@@ -147,8 +147,8 @@ EXTRA_LIBRARIES = /**/
POLL_DEFINES = -DUSE_POLL
#endif
CONN_DEFINES = $(CONNECTION_FLAGS)
- XTRANS_X_DEFINES = $(XTRANS_FAILDEFINES)
- XTRANS_XIM_DEFINES = $(XTRANS_FAILDEFINES)
+ XTRANS_X_DEFINES = -DX11_t -DTRANS_CLIENT $(XTRANS_FAILDEFINES)
+ XTRANS_XIM_DEFINES = -DXIM_t -DTRANS_CLIENT $(XTRANS_FAILDEFINES)
#if HasBSD44Sockets
SOCK_DEFINES = -DBSD44SOCKETS
#endif