aboutsummaryrefslogtreecommitdiff
path: root/compat.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-10-10 10:27:23 +0100
committerThomas <thomas@xteddy.org>2013-10-11 14:36:28 +0100
commitb8b31ad53e693675dbe1e2f7a66c69701f119754 (patch)
treed0626933700a4af1c22ed8830545c36df910a1b3 /compat.h
parent7f479ffdce8f49f6c57d575b708c4cbe8cbe18df (diff)
downloadrtmux-b8b31ad53e693675dbe1e2f7a66c69701f119754.tar.gz
rtmux-b8b31ad53e693675dbe1e2f7a66c69701f119754.tar.bz2
rtmux-b8b31ad53e693675dbe1e2f7a66c69701f119754.zip
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