refs/refs-internal.h: avoid forward declaration of an enum
authorBeat Bolli <redacted>
Mon, 9 Jul 2018 19:25:33 +0000 (21:25 +0200)
committerJunio C Hamano <redacted>
Mon, 9 Jul 2018 21:35:52 +0000 (14:35 -0700)
Include iterator.h to define enum iterator_selection.

Signed-off-by: Beat Bolli <redacted>
Signed-off-by: Junio C Hamano <redacted>
refs/refs-internal.h

index dd834314bd8d5af0315dab19af50f3300a73ad90..a78b5cb803dcf5ce9a30e15335c1e3bd9ea04cbc 100644 (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
git clone https://git.99rst.org/PROJECT