summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeat Bolli <dev+git@drbeat.li>2018-07-09 19:25:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-07-09 21:35:52 (GMT)
commit91c2f2040ab83f11a87b271a842905d2e5c5ada4 (patch)
treeacec6c8faff0bd615d1e70343ba6ab98533c19a7
parentca5e39683a74716e287b5a227a0a574a67f5c48a (diff)
downloadgit-91c2f2040ab83f11a87b271a842905d2e5c5ada4.zip
git-91c2f2040ab83f11a87b271a842905d2e5c5ada4.tar.gz
git-91c2f2040ab83f11a87b271a842905d2e5c5ada4.tar.bz2
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>
-rw-r--r--refs/refs-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/refs/refs-internal.h b/refs/refs-internal.h
index dd83431..a78b5cb 100644
--- a/refs/refs-internal.h
+++ b/refs/refs-internal.h
@@ -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