Add openat() to compat.

This commit is contained in:
Nicholas Marriott
2013-10-10 10:27:23 +01:00
parent f3ec8693e3
commit e588ddb5d6
5 changed files with 81 additions and 2 deletions

View File

@ -243,7 +243,13 @@ int unsetenv(const char *);
#ifndef HAVE_CFMAKERAW
/* cfmakeraw.c */
void cfmakeraw(struct termios *tio);
void cfmakeraw(struct termios *);
#endif
#ifndef HAVE_OPENAT
/* openat.c */
#define AT_FDCWD -100
int openat(int, const char *, int, ...);
#endif
#ifdef HAVE_GETOPT