diff options
author | Mark Salyzyn <salyzyn@google.com> | 2015-04-01 07:48:34 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2015-04-01 16:52:14 +0000 |
commit | b62286e60c079936a5f1e5b0befd32d2d9bf1b3f (patch) | |
tree | 9d46bbd5ed622dfb8c4f81daace7d996ce801a49 /cmds/idmap | |
parent | 5218065dec34abdb15ee2fb5fffa86207b6b57a8 (diff) | |
download | frameworks_base-b62286e60c079936a5f1e5b0befd32d2d9bf1b3f.zip frameworks_base-b62286e60c079936a5f1e5b0befd32d2d9bf1b3f.tar.gz frameworks_base-b62286e60c079936a5f1e5b0befd32d2d9bf1b3f.tar.bz2 |
idmap: scan missing include for sys/stat.h
scan.cpp gets sys/stat.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 sys/stat.h in this
include file.
Bug: 19908228
Change-Id: If547e86513b06c536972138ae571c3d9c714ffe9
Diffstat (limited to 'cmds/idmap')
-rw-r--r-- | cmds/idmap/scan.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmds/idmap/scan.cpp b/cmds/idmap/scan.cpp index 197e36b..84158d3 100644 --- a/cmds/idmap/scan.cpp +++ b/cmds/idmap/scan.cpp @@ -1,3 +1,6 @@ +#include <dirent.h> +#include <sys/stat.h> + #include "idmap.h" #include <UniquePtr.h> @@ -9,8 +12,6 @@ #include <utils/String16.h> #include <utils/String8.h> -#include <dirent.h> - #define NO_OVERLAY_TAG (-1000) using namespace android; |