summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2015-04-01 07:52:12 -0700
committerMark Salyzyn <salyzyn@google.com>2015-04-01 11:11:11 -0700
commit13df5f5f8fbc5a3fdfdd5d1ba5dc853cf3f017f0 (patch)
tree20b6fee1cbb4a76dd122c957a874b350aa906677 /cmds
parent5881c8dd3b5b290cddca0e0f01e2c2f1641826b0 (diff)
downloadframeworks_native-13df5f5f8fbc5a3fdfdd5d1ba5dc853cf3f017f0.zip
frameworks_native-13df5f5f8fbc5a3fdfdd5d1ba5dc853cf3f017f0.tar.gz
frameworks_native-13df5f5f8fbc5a3fdfdd5d1ba5dc853cf3f017f0.tar.bz2
servicemanager: service_manager missing include for string.h
service_manager.c gets string.h inherited from private/android_filesystem_config.h it should not rely on this in the future. The intent is to move fs_config function into libcutils and thus deprecate any need for string.h in this include file. Bug: 19908228 Change-Id: Icc95ee02bf02c596463868b1330d209d1bd5c58a
Diffstat (limited to 'cmds')
-rw-r--r--cmds/servicemanager/service_manager.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmds/servicemanager/service_manager.c b/cmds/servicemanager/service_manager.c
index df46a60..0abdf83 100644
--- a/cmds/servicemanager/service_manager.c
+++ b/cmds/servicemanager/service_manager.c
@@ -1,10 +1,11 @@
/* Copyright 2008 The Android Open Source Project
*/
-#include <stdio.h>
-#include <stdlib.h>
#include <errno.h>
#include <fcntl.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <private/android_filesystem_config.h>