aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-06-23 13:49:14 +0000
committerEric Andersen <andersen@codepoet.org>2001-06-23 13:49:14 +0000
commite0c0757d0925d7f83e2e107861c4e3ec8f525108 (patch)
tree806346c72b573fa64f1c381ea49853fcf15a2964 /coreutils
parentd9c8acec373213fb4c1778ab03364372fdf7a63b (diff)
downloadbusybox-e0c0757d0925d7f83e2e107861c4e3ec8f525108.tar.gz
These were broken when using dmalloc due to include file ordering
problems. busybox.h must be last. -Erik
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/md5sum.c20
1 files changed, 7 insertions, 13 deletions
diff --git a/coreutils/md5sum.c b/coreutils/md5sum.c
index e5a2abe78..dcb05c156 100644
--- a/coreutils/md5sum.c
+++ b/coreutils/md5sum.c
@@ -24,6 +24,13 @@
#include <errno.h>
#include <ctype.h>
#include <getopt.h>
+#include <stdlib.h>
+#include <string.h>
+#include <endian.h>
+#include <sys/types.h>
+#if defined HAVE_LIMITS_H
+# include <limits.h>
+#endif
#include "busybox.h"
/* For some silly reason, this file uses backwards TRUE and FALSE conventions */
@@ -60,12 +67,6 @@
/* Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. */
-#include <sys/types.h>
-#include <stdlib.h>
-#include <string.h>
-#include <endian.h>
-
-#include "busybox.h"
//----------------------------------------------------------------------------
//--------md5.h
//----------------------------------------------------------------------------
@@ -93,12 +94,6 @@
#ifndef _MD5_H
static const int _MD5_H = 1;
-#include <stdio.h>
-
-#if defined HAVE_LIMITS_H || defined _LIBC
-# include <limits.h>
-#endif
-
/* The following contortions are an attempt to use the C preprocessor
to determine an unsigned integral type that is 32 bits wide. An
alternative approach is to use autoconf's AC_CHECK_SIZEOF macro, but
@@ -106,7 +101,6 @@ static const int _MD5_H = 1;
the resulting executable. Locally running cross-compiled executables
is usually not possible. */
-# include <sys/types.h>
typedef u_int32_t md5_uint32;
/* Structure to save state of computation between the single steps. */