summaryrefslogtreecommitdiffstats
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-08-28 02:00:35 +0200
committerJunio C Hamano <gitster@pobox.com>2009-08-28 02:00:35 +0200
commit106a36509dc78e32e0b0e64c8da12ace639c879a (patch)
tree9d072ffcbb9d2c102edd98efc40b49561bedc6ac /git-compat-util.h
parentMerge branch 'as/maint-graph-interesting-fix' (diff)
parentremove ARM and Mozilla SHA1 implementations (diff)
downloadgit-106a36509dc78e32e0b0e64c8da12ace639c879a.tar.xz
git-106a36509dc78e32e0b0e64c8da12ace639c879a.zip
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 71b5acb6fa..e5e9f39c56 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)));