summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2020-04-20 14:51:40 -0700
committerTom Cherry <tomcherry@google.com>2020-04-22 18:02:50 +0000
commitdfef6b76c96763dee1e8300f4485cf3b4141f16b (patch)
treea9e19b6bcd2271c78b9afaacf8453fd477785e13
parent12de4248f24415dbdbcc8c56c182916b32b3661b (diff)
Include log/log_read.h for reading logs
log/log.h is concerned with writing logs. Bug: 78370064 Test: build Change-Id: I3c7719bcbffc6809377e80292b00312b4598bfc2
-rw-r--r--cmds/incidentd/src/Section.cpp1
-rw-r--r--cmds/incidentd/src/Section.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/cmds/incidentd/src/Section.cpp b/cmds/incidentd/src/Section.cpp
index 114cbb8d6460..b629e4251762 100644
--- a/cmds/incidentd/src/Section.cpp
+++ b/cmds/incidentd/src/Section.cpp
@@ -33,7 +33,6 @@
#include <debuggerd/client.h>
#include <dumputils/dump_utils.h>
#include <log/log_event_list.h>
-#include <log/log_read.h>
#include <log/logprint.h>
#include <private/android_logger.h>
#include <sys/mman.h>
diff --git a/cmds/incidentd/src/Section.h b/cmds/incidentd/src/Section.h
index bf915c4165d5..7f4b66482c73 100644
--- a/cmds/incidentd/src/Section.h
+++ b/cmds/incidentd/src/Section.h
@@ -24,7 +24,7 @@
#include <map>
#include <android/os/IIncidentDumpCallback.h>
-
+#include <log/log_read.h>
#include <utils/String16.h>
#include <utils/String8.h>
#include <utils/Vector.h>