summaryrefslogtreecommitdiff
path: root/libs/binder/Debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/binder/Debug.h')
-rw-r--r--libs/binder/Debug.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/binder/Debug.h b/libs/binder/Debug.h
index 262dfbac82..c3d03f8918 100644
--- a/libs/binder/Debug.h
+++ b/libs/binder/Debug.h
@@ -20,6 +20,8 @@
#include <sys/types.h>
#include <string>
+#include <binder/Common.h>
+
namespace android {
// ---------------------------------------------------------------------------
@@ -35,7 +37,8 @@ void printHexData(int32_t indent, const void *buf, size_t length,
size_t alignment=0, bool cArrayStyle=false,
debugPrintFunc func = nullptr, void* cookie = nullptr);
-extern "C" ssize_t getBinderKernelReferences(size_t count, uintptr_t* buf);
+// Used by libmemunreachable.
+extern "C" LIBBINDER_EXPORTED ssize_t getBinderKernelReferences(size_t count, uintptr_t* buf);
// ---------------------------------------------------------------------------
} // namespace android