aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2019-03-10 22:49:31 +0000
committerDaniel Stenberg <daniel@haxx.se>2019-03-15 10:22:42 +0100
commitfe802fd6a6e09d7dce170eddc65d351992255423 (patch)
tree5ff6a3ac942c66acf0b83344f18ef6fdc4f33978
parent5c215bdbdfde8b2350cdcbac82aae0c914da5314 (diff)
tool_getpass: termios.h is present on AmigaOS 3, but no tcgetattr/tcsetattr
-rw-r--r--src/tool_getpass.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tool_getpass.c b/src/tool_getpass.c
index e5e2d6dc1..bf531a537 100644
--- a/src/tool_getpass.c
+++ b/src/tool_getpass.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -21,6 +21,10 @@
***************************************************************************/
#include "tool_setup.h"
+#if defined(__AMIGA__) && !defined(__amigaos4__)
+# undef HAVE_TERMIOS_H
+#endif
+
#ifndef HAVE_GETPASS_R
/* this file is only for systems without getpass_r() */