diff options
author | Jim Meyering <jim@meyering.net> | 1995-05-27 11:41:00 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-05-27 11:41:00 +0000 |
commit | a528bd5d9f309442440c5d189adb57e0cbae3e5e (patch) | |
tree | 5daeb4dd5788324dd7db4c342b4574a75d40fe2f /src | |
parent | 4662661e71d2a8e75d6dc6471837b5598b9c6499 (diff) | |
download | coreutils-a528bd5d9f309442440c5d189adb57e0cbae3e5e.tar.xz |
[!STDC_HEADERS && HAVE_MEMORY_H]: Include memory.h.
Without this, SunOS doesn't get type for memchr.
Reported by Kaveh Ghazi.
Diffstat (limited to 'src')
-rw-r--r-- | src/system.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h index f67bbf014..cdd8f3e39 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 <memory.h> +# endif # include <string.h> #else # include <strings.h> |