aboutsummaryrefslogtreecommitdiff
path: root/sha1.c
diff options
context:
space:
mode:
Diffstat (limited to 'sha1.c')
-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>