From e588ddb5d683a9fd5cf595ac5ed2d8ba657a6bcf Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 10 Oct 2013 10:27:23 +0100 Subject: Add openat() to compat. --- compat.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'compat.h') diff --git a/compat.h b/compat.h index b84ff400..ab3224b1 100644 --- a/compat.h +++ b/compat.h @@ -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 -- cgit v1.2.3