summaryrefslogtreecommitdiffstats
path: root/compat.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-10-10 10:27:23 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-10-10 10:27:23 +0100
commite588ddb5d683a9fd5cf595ac5ed2d8ba657a6bcf (patch)
tree4317ae5567d3b72104aedd4e8ca2f508af205523 /compat.h
parentf3ec8693e36f7a562f6ddd87acfebf2340cad2ab (diff)
Add openat() to compat.
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h8
1 files changed, 7 insertions, 1 deletions
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