Skip to content

Commit 91c2f20

Browse files
bbolligitster
authored andcommitted
refs/refs-internal.h: avoid forward declaration of an enum
Include iterator.h to define enum iterator_selection. Signed-off-by: Beat Bolli <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ca5e396 commit 91c2f20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

refs/refs-internal.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef REFS_REFS_INTERNAL_H
22
#define REFS_REFS_INTERNAL_H
33

4+
#include "iterator.h" /* for enum iterator_selection */
5+
46
/*
57
* Data structures and functions for the internal use of the refs
68
* module. Code outside of the refs module should use only the public

0 commit comments

Comments
 (0)