From dcd660229348d44f41c1d7e4715f81cc2a22f26d Mon Sep 17 00:00:00 2001 From: John Safranek Date: Wed, 13 May 2015 15:10:05 -0700 Subject: [PATCH] misc.c can now only be included once --- wolfcrypt/src/misc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wolfcrypt/src/misc.c b/wolfcrypt/src/misc.c index 58483ab6c..8a79a4c29 100644 --- a/wolfcrypt/src/misc.c +++ b/wolfcrypt/src/misc.c @@ -25,6 +25,9 @@ #include +#ifndef WOLF_CRYPT_MISC_C +#define WOLF_CRYPT_MISC_C + #include /* inlining these functions is a huge speed increase and a small size decrease, @@ -194,3 +197,5 @@ STATIC INLINE int ConstantCompare(const byte* a, const byte* b, int length) } #undef STATIC + +#endif /* WOLF_CRYPT_MISC_C */