summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-08-28 00:00:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-08-28 00:00:35 (GMT)
commit106a36509dc78e32e0b0e64c8da12ace639c879a (patch)
tree9d072ffcbb9d2c102edd98efc40b49561bedc6ac /git-compat-util.h
parent24343c609926e0163c9956b89c010e907fe755ee (diff)
parent30ae47b4cc19dce42f51b4fa378d315a71b08957 (diff)
downloadgit-106a36509dc78e32e0b0e64c8da12ace639c879a.zip
git-106a36509dc78e32e0b0e64c8da12ace639c879a.tar.gz
git-106a36509dc78e32e0b0e64c8da12ace639c879a.tar.bz2
Merge branch 'lt/block-sha1'
* lt/block-sha1: remove ARM and Mozilla SHA1 implementations block-sha1: guard gcc extensions with __GNUC__ make sure byte swapping is optimal for git block-sha1: make the size member first in the context struct
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index 71b5acb..e5e9f39 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -174,6 +174,8 @@ extern char *gitbasename(char *);
#endif
#endif
+#include "compat/bswap.h"
+
/* General helper functions */
extern void usage(const char *err) NORETURN;
extern void die(const char *err, ...) NORETURN __attribute__((format (printf, 1, 2)));