commit | 7246b5d9e3a328f9ce0498648dcdfd73c758e353 | [log] [tgz] |
---|---|---|
author | Hashcode <hashcode0f@gmail.com> | Tue Oct 13 12:47:13 2015 -0700 |
committer | Hashcode <hashcode0f@gmail.com> | Tue Oct 13 12:47:13 2015 -0700 |
tree | a7908e92e793749048857f04a22a41738b49ffe4 | |
parent | 0579114c332fbcb5190845ca9fb4ccac664a7b93 [diff] |
mtdutils: add include to fix implicit function warning Including unistd.h fixes implicit function warning for "read" and "close" in mtdutils/mounts.c Change-Id: I72c3a52de035600cdd794ed5e2d4cae0da26f428
diff --git a/mtdutils/mounts.c b/mtdutils/mounts.c index c90fc8a..cd3738a 100644 --- a/mtdutils/mounts.c +++ b/mtdutils/mounts.c
@@ -19,6 +19,7 @@ #include <string.h> #include <fcntl.h> #include <errno.h> +#include <unistd.h> #include <sys/mount.h> #include "mounts.h"