summaryrefslogtreecommitdiff
path: root/lib/md5.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-06-06 19:32:21 +0000
committerJim Meyering <jim@meyering.net>2003-06-06 19:32:21 +0000
commit510f263a2cc72c1ca62d48920572badcbdf7c48f (patch)
tree03cde52322b9e788aa50875a7f63cf4f899f37a9 /lib/md5.c
parent9f818bb79f87dba20cbab282185c5540d8ac14e0 (diff)
downloadcoreutils-510f263a2cc72c1ca62d48920572badcbdf7c48f.tar.xz
Include <string.h> and <stdlib.h> unconditionally.
(memcpy): Remove definition.
Diffstat (limited to 'lib/md5.c')
-rw-r--r--lib/md5.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/md5.c b/lib/md5.c
index 105fa1aef..4feb32d20 100644
--- a/lib/md5.c
+++ b/lib/md5.c
@@ -26,14 +26,8 @@
#include <sys/types.h>
-#if STDC_HEADERS || defined _LIBC
-# include <stdlib.h>
-# include <string.h>
-#else
-# ifndef HAVE_MEMCPY
-# define memcpy(d, s, n) bcopy ((s), (d), (n))
-# endif
-#endif
+#include <stdlib.h>
+#include <string.h>
#include "md5.h"
#include "unlocked-io.h"