commit 49dc3c2d79527c62b09989b1e803fc0bd561fc06
parent c22c0875a6c9fd51fc43ccb16b99c8c2e5a78519
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date: Sun, 31 Aug 2025 15:06:03 +0200
mhd_bithelpers.h: removed unused include
Diffstat:
4 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/mhd2/md5_int.c b/src/mhd2/md5_int.c
@@ -48,6 +48,7 @@
#include <string.h>
#include "mhd_bithelpers.h"
+#include "mhd_align.h"
#include "mhd_assert.h"
#include "md5_int.h"
diff --git a/src/mhd2/mhd_bithelpers.h b/src/mhd2/mhd_bithelpers.h
@@ -58,10 +58,6 @@
# include <intrin.h>
#endif /* _MSC_FULL_VER */
#include "mhd_byteorder.h"
-#if mhd_BYTE_ORDER == mhd_LITTLE_ENDIAN || mhd_BYTE_ORDER == mhd_BIG_ENDIAN
-#include "mhd_align.h"
-#endif /* mhd_BYTE_ORDER == mhd_LITTLE_ENDIAN ||
- mhd_BYTE_ORDER == mhd_BIG_ENDIAN */
#ifndef __has_builtin
# define mhd_HAS_BUILTIN(x) (0)
diff --git a/src/mhd2/sha256_int.c b/src/mhd2/sha256_int.c
@@ -48,6 +48,7 @@
#include <string.h>
#include "mhd_bithelpers.h"
+#include "mhd_align.h"
#include "mhd_assert.h"
#include "sha256_int.h"
diff --git a/src/mhd2/sha512_256_int.c b/src/mhd2/sha512_256_int.c
@@ -48,6 +48,7 @@
#include <string.h>
#include "mhd_bithelpers.h"
+#include "mhd_align.h"
#include "mhd_assert.h"
#include "sha512_256_int.h"