diff options
author | Elliott Hughes <enh@google.com> | 2014-12-29 12:29:50 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-12-29 12:29:50 -0800 |
commit | 125e060bacf25da4043515a9da8ca6da581b759d (patch) | |
tree | a961d86ed9bf07d00e4757f6d1282245b77b8ba8 | |
parent | e37c6986b7db382fa93d2fbf9b679681efa60016 (diff) | |
download | android_system_extras-125e060bacf25da4043515a9da8ca6da581b759d.tar.gz android_system_extras-125e060bacf25da4043515a9da8ca6da581b759d.tar.bz2 android_system_extras-125e060bacf25da4043515a9da8ca6da581b759d.zip |
Fix missing #includes in system/extras.
Change-Id: I78000cea6b2012f571e596ed400b3f04847cb761
-rw-r--r-- | f2fs_utils/f2fs_sparseblock.c | 1 | ||||
-rw-r--r-- | puncture_fs/puncture_fs.c | 1 | ||||
-rw-r--r-- | tests/suspend_stress/suspend_stress.cpp | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/f2fs_utils/f2fs_sparseblock.c b/f2fs_utils/f2fs_sparseblock.c index 2bcd4476..e17e2b3b 100644 --- a/f2fs_utils/f2fs_sparseblock.c +++ b/f2fs_utils/f2fs_sparseblock.c @@ -4,6 +4,7 @@ #include <cutils/log.h> +#include <errno.h> #include <fcntl.h> #include <f2fs_fs.h> #include <linux/types.h> diff --git a/puncture_fs/puncture_fs.c b/puncture_fs/puncture_fs.c index 1c0fa0aa..3f7e4a72 100644 --- a/puncture_fs/puncture_fs.c +++ b/puncture_fs/puncture_fs.c @@ -15,6 +15,7 @@ */ #include <assert.h> +#include <errno.h> #include <fcntl.h> #include <getopt.h> #include <stdio.h> diff --git a/tests/suspend_stress/suspend_stress.cpp b/tests/suspend_stress/suspend_stress.cpp index 87649142..08c4685a 100644 --- a/tests/suspend_stress/suspend_stress.cpp +++ b/tests/suspend_stress/suspend_stress.cpp @@ -14,12 +14,14 @@ * limitations under the License. */ +#include <errno.h> #include <getopt.h> #include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> +#include <unistd.h> #include <sys/epoll.h> #include <sys/timerfd.h> |