docs: add headers in MyFirstObjectWalk
commit7d1b866778043115c0f707cceb8d16e14ac93817
authorJohn Cai <johncai86@gmail.com>
Fri, 29 Oct 2021 19:52:43 +0000 (29 19:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Oct 2021 20:02:51 +0000 (29 13:02 -0700)
tree79b314d6504f5c865bd1ae3e4518670d5a054bc3
parentf0ac30ec190284627f9bd3d0681823bcdc79dcf2
docs: add headers in MyFirstObjectWalk

In several places, headers need to be included or else the code won't
compile. Since this is the first object walk, it would be nice to
include them in the tutorial to make it easier to follow.

Signed-off-by: John Cai <johncai86@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/MyFirstObjectWalk.txt