changeset 15292:558d7f9e06ef

[SOLARIS2]: Include string.h.
author Karl Heuer <kwzh@gnu.org>
date Sat, 25 May 1996 23:37:13 +0000
parents 22f9530a700e
children 1343afeec307
files src/xterm.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Sat May 25 23:21:39 1996 +0000
+++ b/src/xterm.c	Sat May 25 23:37:13 1996 +0000
@@ -115,6 +115,13 @@
 #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