summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2021-08-18 00:46:51 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-08-18 00:46:51 +0000
commit9cd684bcb3e5bdec17b0816192e530a496a77b55 (patch)
tree7649c38872a04f19bed54207a41bc3b70416f1c3
parentd2d96e95ddacdddf23425bb83cb3762dc48e91cc (diff)
parentcf9f64b76258f79c0dd685d207bd5b29578e2a2f (diff)
downloadgtest_extras-9cd684bcb3e5bdec17b0816192e530a496a77b55.tar.gz
Use posix basename instead of glibc am: 62434518b2 am: f79c211cf2 am: e265ca9bbe am: 7e7e6d3521 am: cf9f64b762
Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1797187 Change-Id: I5862ebba6407bda197ee8e1dd090c1486e7a4de3
-rw-r--r--IsolateMain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/IsolateMain.cpp b/IsolateMain.cpp
index 5b34ef5..6ef823d 100644
--- a/IsolateMain.cpp
+++ b/IsolateMain.cpp
@@ -15,10 +15,10 @@
*/
#include <errno.h>
+#include <libgen.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <unistd.h>
#include <cstring>