summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-12-29 12:29:50 -0800
committerElliott Hughes <enh@google.com>2014-12-29 12:29:50 -0800
commit125e060bacf25da4043515a9da8ca6da581b759d (patch)
treea961d86ed9bf07d00e4757f6d1282245b77b8ba8
parente37c6986b7db382fa93d2fbf9b679681efa60016 (diff)
downloadextras-125e060bacf25da4043515a9da8ca6da581b759d.tar.gz
Fix missing #includes in system/extras.
Change-Id: I78000cea6b2012f571e596ed400b3f04847cb761
-rw-r--r--f2fs_utils/f2fs_sparseblock.c1
-rw-r--r--puncture_fs/puncture_fs.c1
-rw-r--r--tests/suspend_stress/suspend_stress.cpp2
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>