Mercurial > emacs
diff src/xterm.c @ 15292:558d7f9e06ef
[SOLARIS2]: Include string.h.
| author | Karl Heuer <kwzh@gnu.org> |
|---|---|
| date | Sat, 25 May 1996 23:37:13 +0000 |
| parents | aa5b4cd52df8 |
| children | 73d3ebc6aecd |
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
