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
This commit is contained in:
Nick Kralevich 2012-10-15 15:51:33 -07:00
parent 618a183c58
commit 69ce489fc3
1 changed files with 1 additions and 0 deletions

View File

@ -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