diff options
author | Mark Salyzyn | 2015-04-01 09:42:46 -0500 |
---|---|---|
committer | Mark Salyzyn | 2015-04-01 13:15:37 -0500 |
commit | 68ffc74e32dba4799ac3249c6835ca1ef2fe5f04 (patch) | |
tree | 88b29e7ddb93fb74b30f5ff9f5d27a3fa8e7da24 /run-as | |
parent | 27cda9a535c80470e913156e412cbf7e60c3217c (diff) | |
download | platform-system-core-68ffc74e32dba4799ac3249c6835ca1ef2fe5f04.tar.gz platform-system-core-68ffc74e32dba4799ac3249c6835ca1ef2fe5f04.tar.xz platform-system-core-68ffc74e32dba4799ac3249c6835ca1ef2fe5f04.zip |
package missing include for string.h
package.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: I5db6d0a88c5b1eb9f582284e9bdd220c096ea69a
Diffstat (limited to 'run-as')
-rw-r--r-- | run-as/package.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/run-as/package.c b/run-as/package.c index 4f8f3a760..9e1f5bb22 100644 --- a/run-as/package.c +++ b/run-as/package.c | |||
@@ -16,9 +16,11 @@ | |||
16 | */ | 16 | */ |
17 | #include <errno.h> | 17 | #include <errno.h> |
18 | #include <fcntl.h> | 18 | #include <fcntl.h> |
19 | #include <unistd.h> | 19 | #include <string.h> |
20 | #include <sys/stat.h> | ||
21 | #include <sys/mman.h> | 20 | #include <sys/mman.h> |
21 | #include <sys/stat.h> | ||
22 | #include <unistd.h> | ||
23 | |||
22 | #include <private/android_filesystem_config.h> | 24 | #include <private/android_filesystem_config.h> |
23 | #include "package.h" | 25 | #include "package.h" |
24 | 26 | ||