aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>