refs/refs-internal.h: avoid forward declaration of an enum

Include iterator.h to define enum iterator_selection. Signed-off-by: Beat Bolli <dev+git@drbeat.li> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Beat Bolli committed Jul 9, 2018 at 21:25 UTC 91c2f2040ab83f11a87b271a842905d2e5c5ada4
1 file changed +2
refs/refs-internal.h
+2
@@ -1,6 +1,8 @@
1 #ifndef REFS_REFS_INTERNAL_H
2 #define REFS_REFS_INTERNAL_H
3
4 +#include "iterator.h" /* for enum iterator_selection */
5 +
6 /*
7 * Data structures and functions for the internal use of the refs
8 * module. Code outside of the refs module should use only the public