summaryrefslogtreecommitdiff
path: root/varint.c
diff options
context:
space:
mode:
authorDavid Aguilar <davvid@gmail.com>2014-09-14 07:40:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-09-15 19:05:14 (GMT)
commit1c4b6604126781361fe89d88ace70f53079fbab5 (patch)
tree125f774a940ef6470dd828d5393a7c7500ea5b5b /varint.c
parent96db324a73fdada6fbe7b63221986f8f18cc63b0 (diff)
downloadgit-1c4b6604126781361fe89d88ace70f53079fbab5.zip
git-1c4b6604126781361fe89d88ace70f53079fbab5.tar.gz
git-1c4b6604126781361fe89d88ace70f53079fbab5.tar.bz2
cleanups: ensure that git-compat-util.h is included first
CodingGuidelines states that the first #include in C files should be git-compat-util.h or another header file that includes it, such as cache.h or builtin.h. Signed-off-by: David Aguilar <davvid@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'varint.c')
-rw-r--r--varint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/varint.c b/varint.c
index 4ed7729..409c497 100644
--- a/varint.c
+++ b/varint.c
@@ -1,3 +1,4 @@
+#include "git-compat-util.h"
#include "varint.h"
uintmax_t decode_varint(const unsigned char **bufp)