abg-reporter.h: add missing includes / using declarations
authorMatthias Maennich <maennich@google.com>
Wed, 12 Jun 2019 14:29:29 +0000 (15:29 +0100)
committerDodji Seketeli <dodji@redhat.com>
Mon, 17 Jun 2019 13:25:18 +0000 (15:25 +0200)
In order to build this (external!) header file stand-alone, it required
some minor fixes. I.e. adding some includes and using declarations.

* include/abg-reporter.h: fix includes and using declarations

Signed-off-by: Matthias Maennich <maennich@google.com>
include/abg-reporter.h

index 55cb8cc..f11e84d 100644 (file)
 #ifndef __ABG_REPORTER_H__
 #define __ABG_REPORTER_H__
 
+#include <ostream>
+#include <string>
+#include <tr1/memory>
+
 namespace abigail
 {
+
+using std::ostream;
+using std::tr1::shared_ptr;
+
 namespace comparison
 {
 class diff;