[1/3] abg-corpus-priv.h: include abg-corpus.h

Message ID 20200903132205.589136-2-gprocida@google.com
State Rejected, archived
Series clang-tidy error and warning fixes |

Commit Message

Giuliano Procida Sept. 3, 2020, 1:22 p.m. UTC
  This commit eliminates a clang diagnostic error that can occur if the
header abg-corpus-priv.h alone is compiled as the type corpus was
incomplete at the point various nested types were defined.

	* src/abg-corpus-priv.h: Include abg-corpus.h.

Signed-off-by: Giuliano Procida <gprocida@google.com>
 src/abg-corpus-priv.h | 1 +
 1 file changed, 1 insertion(+)


diff --git a/src/abg-corpus-priv.h b/src/abg-corpus-priv.h
index ee8c82396..d8b75cb26 100644
--- a/src/abg-corpus-priv.h
+++ b/src/abg-corpus-priv.h
@@ -30,6 +30,7 @@ 
 #define __ABG_CORPUS_PRIV_H__
 #include "abg-internal.h"
+#include "abg-corpus.h"
 #include "abg-regex.h"
 #include "abg-sptr-utils.h"