aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/Xlibint.h
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/Xlibint.h')
-rw-r--r--nx-X11/lib/X11/Xlibint.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/nx-X11/lib/X11/Xlibint.h b/nx-X11/lib/X11/Xlibint.h
index 056b4d8f9..932ed745e 100644
--- a/nx-X11/lib/X11/Xlibint.h
+++ b/nx-X11/lib/X11/Xlibint.h
@@ -856,7 +856,12 @@ extern int _XError(
);
extern int _XIOError(
Display* /* dpy */
+#ifdef NX_TRANS_SOCKET
+);
+#else
) _X_NORETURN;
+#endif /* NX_TRANS_SOCKET */
+
extern int (*_XIOErrorFunction)(
Display* /* dpy */
);