diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-04-26 21:16:29 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-04-26 21:16:29 +0200 |
commit | 4f13df624b92037126110778994bd8dbc0f5226b (patch) | |
tree | 047cf368c7a120f3ac863914397529eb4b8a9316 /lib/sha256.c | |
parent | Merge remote-tracking branch 'origin/master' into EIGRP (diff) | |
download | frr-4f13df624b92037126110778994bd8dbc0f5226b.tar.xz frr-4f13df624b92037126110778994bd8dbc0f5226b.zip |
lib: Fix some *bsd build issues introduced by EIGRP code
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/sha256.c')
-rw-r--r-- | lib/sha256.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sha256.c b/lib/sha256.c index c7588a5f1..4a933875f 100644 --- a/lib/sha256.c +++ b/lib/sha256.c @@ -27,6 +27,7 @@ #include <zebra.h> #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 |