From 805288011b170d23b6d9d9b2a451933fdf28562d Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sat, 25 May 1996 23:37:13 +0000 Subject: [PATCH] [SOLARIS2]: Include string.h. --- src/xterm.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/xterm.c b/src/xterm.c index a44c44f2538..dd30016b435 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -114,6 +114,13 @@ extern void _XEditResCheckMessages (); #include #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 -- 2.39.2