Add openat() to compat.

This commit is contained in:
Nicholas Marriott
2013-10-10 10:27:23 +01:00
committed by Thomas
parent 7f479ffdce
commit b8b31ad53e
4 changed files with 80 additions and 1 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