aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2019-04-19 23:00:14 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2019-04-19 23:00:14 +0300
commitd56c41f6f7f72a089b309fb2b310388bb5e33be4 (patch)
tree4f08d7fa41cb5473b941760813c79990fb541563
parent0c8e7bb1cd8ee24f2f919864a3e53fc4ef46d9e3 (diff)
downloadlibmicrohttpd-d56c41f6f7f72a089b309fb2b310388bb5e33be4.tar.gz
libmicrohttpd-d56c41f6f7f72a089b309fb2b310388bb5e33be4.zip
md5.c/.h: lowered number of included files.
-rw-r--r--src/microhttpd/md5.c5
-rw-r--r--src/microhttpd/md5.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/microhttpd/md5.c b/src/microhttpd/md5.c
index 3f239f2f..08ed6ee5 100644
--- a/src/microhttpd/md5.c
+++ b/src/microhttpd/md5.c
@@ -19,7 +19,10 @@
19 * Optimized by Karlson2k (Evgeny Grin). */ 19 * Optimized by Karlson2k (Evgeny Grin). */
20 20
21#include "md5.h" 21#include "md5.h"
22#include "mhd_byteorder.h" 22#include <string.h>
23#ifdef HAVE_MEMORY_H
24#include <memory.h>
25#endif /* HAVE_MEMORY_H */
23#include "mhd_bithelpers.h" 26#include "mhd_bithelpers.h"
24#include "mhd_assert.h" 27#include "mhd_assert.h"
25 28
diff --git a/src/microhttpd/md5.h b/src/microhttpd/md5.h
index 819d515d..0c1acab1 100644
--- a/src/microhttpd/md5.h
+++ b/src/microhttpd/md5.h
@@ -18,7 +18,9 @@
18#ifndef MHD_MD5_H 18#ifndef MHD_MD5_H
19#define MHD_MD5_H 19#define MHD_MD5_H
20 20
21#include "platform.h" 21#include "mhd_options.h"
22#include <stdint.h>
23#include <stddef.h>
22 24
23#define MD5_BLOCK_SIZE 64 25#define MD5_BLOCK_SIZE 64
24#define MD5_DIGEST_SIZE 16 26#define MD5_DIGEST_SIZE 16