From a528bd5d9f309442440c5d189adb57e0cbae3e5e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 27 May 1995 11:41:00 +0000 Subject: [PATCH] [!STDC_HEADERS && HAVE_MEMORY_H]: Include memory.h. Without this, SunOS doesn't get type for memchr. Reported by Kaveh Ghazi. --- src/system.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/system.h b/src/system.h index f67bbf0148..cdd8f3e394 100644 --- a/src/system.h +++ b/src/system.h @@ -153,6 +153,9 @@ struct utimbuf memcpy otherwise. */ #ifdef HAVE_STRING_H +# if !STDC_HEADERS && HAVE_MEMORY_H +# include +# endif # include #else # include -- 2.47.3