Add missing includes and forward declarations
[gitweb.git] / object-store.h
index a3db17bbf5a70c9920181e26eeba5c348ad87671..b6f2c732c42e1a4429d9e8c47f951a9f26ca1a9f 100644 (file)
@@ -1,7 +1,11 @@
 #ifndef OBJECT_STORE_H
 #define OBJECT_STORE_H
 
+#include "cache.h"
 #include "oidmap.h"
+#include "list.h"
+#include "sha1-array.h"
+#include "strbuf.h"
 
 struct alternate_object_database {
        struct alternate_object_database *next;
@@ -103,6 +107,9 @@ struct raw_object_store {
         */
        struct oidmap *replace_map;
 
+       struct commit_graph *commit_graph;
+       unsigned commit_graph_attempted : 1; /* if loading has been attempted */
+
        /*
         * private data
         *