From: Jim Meyering Date: Sat, 27 May 1995 11:41:00 +0000 (+0000) Subject: [!STDC_HEADERS && HAVE_MEMORY_H]: Include memory.h. X-Git-Tag: textutils-1_12_1~143 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a528bd5d9f309442440c5d189adb57e0cbae3e5e;p=thirdparty%2Fcoreutils.git [!STDC_HEADERS && HAVE_MEMORY_H]: Include memory.h. Without this, SunOS doesn't get type for memchr. Reported by Kaveh Ghazi. --- 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