aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhenryk <henryk@ploetzli.ch>2014-10-07 20:03:29 +0200
committerhenryk <henryk@ploetzli.ch>2014-10-07 20:03:29 +0200
commit18cbc7a50fe5f2117cc3d0a1a26bb2e481fa5fec (patch)
tree4217d7973c723f036cb051d0405657716f2dbf5b
parent9a32554983bc0acbd465d030a66669e64ee760dd (diff)
parent600412e53f47760fd8986cdc3c394d68f5f9715c (diff)
downloadtinydnssec-master.tar.gz
tinydnssec-master.tar.bz2
Merge pull request #1 from gahr/masterHEADmaster
Fix build on FreeBSD
-rw-r--r--sha1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sha1.c b/sha1.c
index 8a3dfee..bca8d05 100644
--- a/sha1.c
+++ b/sha1.c
@@ -92,7 +92,9 @@ A million repetitions of "a"
#include "config.h"
#endif
+#ifndef __FreeBSD__
#include <endian.h>
+#endif
#include <stdio.h>
#include <string.h>