From: Donald Sharp Date: Wed, 26 Apr 2017 19:16:29 +0000 (-0400) Subject: lib: Fix some *bsd build issues introduced by EIGRP code X-Git-Tag: reindent-master-before~197^2~7 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=4f13df624b92037126110778994bd8dbc0f5226b;p=matthieu%2Ffrr.git lib: Fix some *bsd build issues introduced by EIGRP code Signed-off-by: Donald Sharp --- diff --git a/lib/sha256.c b/lib/sha256.c index c7588a5f18..4a933875f8 100644 --- a/lib/sha256.c +++ b/lib/sha256.c @@ -27,6 +27,7 @@ #include #include "sha256.h" +#ifdef GNU_LINUX static inline uint32_t be32dec(const void *pp) { @@ -46,6 +47,7 @@ be32enc(void *pp, uint32_t x) p[1] = (x >> 16) & 0xff; p[0] = (x >> 24) & 0xff; } +#endif /* * Encode a length len/4 vector of (uint32_t) into a length len vector of