summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack.cpp
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2017-04-13 15:17:59 -0700
committerSteven Moreland <smoreland@google.com>2017-04-14 17:06:33 +0000
commit0d9764505b142d60757944f756fca88fec7666b7 (patch)
tree3ff5fd1398103401582c195cd5fc33d3d45b494f /libutils/ProcessCallStack.cpp
parentcac6c96d00743c1d263f13273d0983411de5c4cb (diff)
libutils: include what you use
These includes are included transitively by liblog, but not by the VNDK version of liblog. Bug: 33241851 Test: links with BOARD_VNDK_VERSION := current Change-Id: Ide4aee3cacad2a2bf6bd0cbdf0254c6c245f4020
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
-rw-r--r--libutils/ProcessCallStack.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libutils/ProcessCallStack.cpp b/libutils/ProcessCallStack.cpp
index ff8b32a437..b8fb6dc2a3 100644
--- a/libutils/ProcessCallStack.cpp
+++ b/libutils/ProcessCallStack.cpp
@@ -20,6 +20,8 @@
#include <utils/ProcessCallStack.h>
#include <dirent.h>
+#include <unistd.h>
+
#include <memory>
#include <utils/Printer.h>