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>
maint
Beat Bolli 2018-07-09 21:25:33 +02:00 committed by Junio C Hamano
parent ca5e39683a
commit 91c2f2040a
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
#ifndef REFS_REFS_INTERNAL_H
#define REFS_REFS_INTERNAL_H

#include "iterator.h" /* for enum iterator_selection */

/*
* Data structures and functions for the internal use of the refs
* module. Code outside of the refs module should use only the public