# HG changeset patch # User Karl Heuer # Date 833067433 0 # Node ID 558d7f9e06efb8f2e81bfc573e0927f9707ec9b3 # Parent 22f9530a700e433ff0026e64b53e01a22aedce86 [SOLARIS2]: Include string.h. diff -r 22f9530a700e -r 558d7f9e06ef src/xterm.c --- 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 + is included beforehand. The declaration for memmove in + will cause a syntax error when Xfuncs.h later includes it. */ +#include +#endif + +#ifdef SOLARIS2 #define X_CONNECTION_LOCK_FLAG XlibDisplayWriting #endif