diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-10-10 10:27:23 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-10-10 10:27:23 +0100 |
commit | e588ddb5d683a9fd5cf595ac5ed2d8ba657a6bcf (patch) | |
tree | 4317ae5567d3b72104aedd4e8ca2f508af205523 /compat.h | |
parent | f3ec8693e36f7a562f6ddd87acfebf2340cad2ab (diff) |
Add openat() to compat.
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |