From 91c2f2040ab83f11a87b271a842905d2e5c5ada4 Mon Sep 17 00:00:00 2001 From: Beat Bolli Date: Mon, 9 Jul 2018 21:25:33 +0200 Subject: refs/refs-internal.h: avoid forward declaration of an enum Include iterator.h to define enum iterator_selection. Signed-off-by: Beat Bolli Signed-off-by: Junio C Hamano --- refs/refs-internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'refs') diff --git a/refs/refs-internal.h b/refs/refs-internal.h index dd834314bd..a78b5cb803 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 -- cgit v1.2.3 From 13f925f3e4000ea1990e2cd7d7b1fb97597d41f5 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 9 Jul 2018 14:36:12 -0700 Subject: fixup! refs/refs-internal.h: avoid forward declaration of an enum --- refs/refs-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'refs') diff --git a/refs/refs-internal.h b/refs/refs-internal.h index a78b5cb803..54bde5089a 100644 --- a/refs/refs-internal.h +++ b/refs/refs-internal.h @@ -1,7 +1,7 @@ #ifndef REFS_REFS_INTERNAL_H #define REFS_REFS_INTERNAL_H -#include "iterator.h" /* for enum iterator_selection */ +#include "iterator.h" /* * Data structures and functions for the internal use of the refs -- cgit v1.2.3