Merge "Fix building service command with musl" am: ed1abd80c1 am: 77685f195c

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1931937

Change-Id: I12e29209ebff7734fb870e674a9ea152be539eab
diff --git a/cmds/service/service.cpp b/cmds/service/service.cpp
index fe417a3..d5ca725 100644
--- a/cmds/service/service.cpp
+++ b/cmds/service/service.cpp
@@ -21,6 +21,7 @@
 #include <cutils/ashmem.h>
 
 #include <getopt.h>
+#include <libgen.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>