aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrace Cham <hscham@google.com>2022-05-23 17:51:38 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-05-23 17:51:38 +0000
commitec7860e17857684003bc92863eadf18434f36455 (patch)
tree19611fb125064fd47732fbb691514ca20c474a93
parent46f8b1f31b35ec000b0abce1b08adf9aa4e9c8d1 (diff)
parent9932c5ede55e8a273ea21c5505a5d7ee141125e6 (diff)
downloadpuffin-ec7860e17857684003bc92863eadf18434f36455.tar.gz
puffin: include <unistd.h> explicitly am: 9025f9fa43 am: edc111ec45 am: 9932c5ede5
Original change: https://android-review.googlesource.com/c/platform/external/puffin/+/2098765 Change-Id: Iff3e1d28896f2be2faea702628ed86af1f67c29e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--src/unittest_common.cc2
-rw-r--r--src/unittest_common.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/unittest_common.cc b/src/unittest_common.cc
index ad3a85f..ac050dd 100644
--- a/src/unittest_common.cc
+++ b/src/unittest_common.cc
@@ -4,6 +4,8 @@
#include "puffin/src/unittest_common.h"
+#include <unistd.h>
+
using std::string;
using std::vector;
diff --git a/src/unittest_common.h b/src/unittest_common.h
index eac61e6..8727986 100644
--- a/src/unittest_common.h
+++ b/src/unittest_common.h
@@ -5,6 +5,8 @@
#ifndef SRC_UNITTEST_COMMON_H_
#define SRC_UNITTEST_COMMON_H_
+#include <unistd.h>
+
#include <string>
#include <vector>