aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/xterm.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index eb1f2845ced..57c335e1146 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -151,6 +151,11 @@ extern void _XEditResCheckMessages ();
151#endif 151#endif
152#endif 152#endif
153 153
154#ifdef HAVE_X11R6
155/* This isn't prototyped in OSF 5.0 or or XFree 4.1. */
156extern char * XSetIMValues P_ ((XIM, ...));
157#endif
158
154#define abs(x) ((x) < 0 ? -(x) : (x)) 159#define abs(x) ((x) < 0 ? -(x) : (x))
155 160
156#define BETWEEN(X, LOWER, UPPER) ((X) >= (LOWER) && (X) < (UPPER)) 161#define BETWEEN(X, LOWER, UPPER) ((X) >= (LOWER) && (X) < (UPPER))
@@ -12435,7 +12440,6 @@ xim_open_dpy (dpyinfo, resource_name)
12435#ifdef HAVE_X11R6 12440#ifdef HAVE_X11R6
12436 destroy.callback = xim_destroy_callback; 12441 destroy.callback = xim_destroy_callback;
12437 destroy.client_data = (XPointer)dpyinfo; 12442 destroy.client_data = (XPointer)dpyinfo;
12438 /* This isn't prototyped in OSF 5.0. */
12439 XSetIMValues (xim, XNDestroyCallback, &destroy, NULL); 12443 XSetIMValues (xim, XNDestroyCallback, &destroy, NULL);
12440#endif 12444#endif
12441 } 12445 }