diff options
| author | Nick Kralevich <nnk@google.com> | 2012-10-15 15:51:33 -0700 |
|---|---|---|
| committer | Nick Kralevich <nnk@google.com> | 2012-10-15 15:51:33 -0700 |
| commit | 69ce489fc3946b7b89ca837a01d3828f1af2e0a0 (patch) | |
| tree | 7d9bb20692e6f9714b84e73143b14bf5a79bc6f3 /libcutils | |
| parent | 618a183c58f9baf8a5ce5f2de5d116c8377b1428 (diff) | |
| download | system_core-69ce489fc3946b7b89ca837a01d3828f1af2e0a0.zip system_core-69ce489fc3946b7b89ca837a01d3828f1af2e0a0.tar.gz system_core-69ce489fc3946b7b89ca837a01d3828f1af2e0a0.tar.bz2 | |
fs.c: Fix implicit declaration of function 'mkstemp'
system/core/libcutils/fs.c: In function 'fs_write_atomic_int':
system/core/libcutils/fs.c:109:5: warning: implicit declaration of function 'mkstemp' [-Wimplicit-function-declaration]
Change-Id: I337ecb818f85e20b058f782df45987acf2e9d6c1
Diffstat (limited to 'libcutils')
| -rw-r--r-- | libcutils/fs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcutils/fs.c b/libcutils/fs.c index 1226d44..116526d 100644 --- a/libcutils/fs.c +++ b/libcutils/fs.c @@ -26,6 +26,7 @@ #include <errno.h> #include <string.h> #include <limits.h> +#include <stdlib.h> #define ALL_PERMS (S_ISUID | S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO) #define BUF_SIZE 64 |
