Make sure we have a mkfifo symbol.

Bug: https://code.google.com/p/android/issues/detail?id=58888
Change-Id: Ic0a883a5f30beb82cb7be3c4e81b6d693d5fbb4d
This commit is contained in:
Elliott Hughes
2013-10-22 10:54:11 -07:00
parent 393484ab35
commit 594b1a4af2
4 changed files with 52 additions and 4 deletions

View File

@@ -178,10 +178,7 @@ mode_t umask(mode_t mode) {
#define fstat64 fstat
#define lstat64 lstat
static __inline__ int mkfifo(const char *__p, mode_t __m)
{
return mknod(__p, (__m & ~S_IFMT) | S_IFIFO, (dev_t)0);
}
extern int mkfifo(const char*, mode_t);
extern int fstatat(int dirfd, const char *path, struct stat *buf, int flags);
extern int mkdirat(int dirfd, const char *pathname, mode_t mode);