]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include "sha.h" first.
authorJim Meyering <jim@meyering.net>
Wed, 10 Sep 2003 08:55:24 +0000 (08:55 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 10 Sep 2003 08:55:24 +0000 (08:55 +0000)
Include <stdlib.h>, <string.h> unconditionally.

lib/sha.c

index 150bf0e422fa1c09aa4759220a38956466029f35..b645bf4026221841e756803853456a8c956307bb 100644 (file)
--- a/lib/sha.c
+++ b/lib/sha.c
 # include <config.h>
 #endif
 
+#include "sha.h"
+
 #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 "sha.h"
 #include "unlocked-io.h"
 
 /*