summaryrefslogtreecommitdiff
path: root/varint.c
diff options
context:
space:
mode:
authorDavid Aguilar <davvid@gmail.com>2014-09-14 00:40:45 -0700
committerJunio C Hamano <gitster@pobox.com>2014-09-15 12:05:14 -0700
commit1c4b6604126781361fe89d88ace70f53079fbab5 (patch)
tree125f774a940ef6470dd828d5393a7c7500ea5b5b /varint.c
parent96db324a73fdada6fbe7b63221986f8f18cc63b0 (diff)
downloadgit-1c4b6604126781361fe89d88ace70f53079fbab5.tar.gz
cleanups: ensure that git-compat-util.h is included firstda/include-compat-util-first-in-c
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 4ed7729496..409c4977a1 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)