summaryrefslogtreecommitdiffstats
path: root/compat.h
diff options
context:
space:
mode:
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