commit d56c41f6f7f72a089b309fb2b310388bb5e33be4
parent 0c8e7bb1cd8ee24f2f919864a3e53fc4ef46d9e3
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Fri, 19 Apr 2019 23:00:14 +0300
md5.c/.h: lowered number of included files.
Diffstat:
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/md5.c b/src/microhttpd/md5.c
@@ -19,7 +19,10 @@
* Optimized by Karlson2k (Evgeny Grin). */
#include "md5.h"
-#include "mhd_byteorder.h"
+#include <string.h>
+#ifdef HAVE_MEMORY_H
+#include <memory.h>
+#endif /* HAVE_MEMORY_H */
#include "mhd_bithelpers.h"
#include "mhd_assert.h"
diff --git a/src/microhttpd/md5.h b/src/microhttpd/md5.h
@@ -18,7 +18,9 @@
#ifndef MHD_MD5_H
#define MHD_MD5_H
-#include "platform.h"
+#include "mhd_options.h"
+#include <stdint.h>
+#include <stddef.h>
#define MD5_BLOCK_SIZE 64
#define MD5_DIGEST_SIZE 16