summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2021-08-17 22:36:08 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-08-17 22:36:08 +0000
commitcf9f64b76258f79c0dd685d207bd5b29578e2a2f (patch)
tree7649c38872a04f19bed54207a41bc3b70416f1c3
parentd8549717a730b47503543086c57e929a444152eb (diff)
parent7e7e6d352117aa10a217996444e2ffcf89644800 (diff)
downloadgtest_extras-cf9f64b76258f79c0dd685d207bd5b29578e2a2f.tar.gz
Use posix basename instead of glibc am: 62434518b2 am: f79c211cf2 am: e265ca9bbe am: 7e7e6d3521
Original change: https://android-review.googlesource.com/c/platform/system/testing/gtest_extras/+/1797187 Change-Id: I43caade82606c83477b75d9bc84c34289025c650
-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>