summaryrefslogtreecommitdiff
path: root/src/xterm.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-05-25 23:37:13 +0000
committerKarl Heuer <kwzh@gnu.org>1996-05-25 23:37:13 +0000
commitea0a05b8842480eebe553269c9db0d747dfa2181 (patch)
treed96190a62b2c56c56659baa8d7f551f3920efc14 /src/xterm.c
parent312c27d81572705021721e7ae99936ecfa85c320 (diff)
downloademacs-ea0a05b8842480eebe553269c9db0d747dfa2181.tar.gz
[SOLARIS2]: Include string.h.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index a44c44f2538..dd30016b435 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -115,6 +115,13 @@ extern void _XEditResCheckMessages ();
#endif
#ifdef SOLARIS2
+/* memmove will be defined as a macro in Xfuncs.h unless
+ <string.h> is included beforehand. The declaration for memmove in
+ <string.h> will cause a syntax error when Xfuncs.h later includes it. */
+#include <string.h>
+#endif
+
+#ifdef SOLARIS2
#define X_CONNECTION_LOCK_FLAG XlibDisplayWriting
#endif