]> granicus.if.org Git - curl/commitdiff
tool_getpass: termios.h is present on AmigaOS 3, but no tcgetattr/tcsetattr
authorChris Young <chris@unsatisfactorysoftware.co.uk>
Sun, 10 Mar 2019 22:49:31 +0000 (22:49 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 15 Mar 2019 09:22:42 +0000 (10:22 +0100)
src/tool_getpass.c

index e5e2d6dc1e5eda1df958ed7d8b74eea046d20627..bf531a537c987b15f0f087cfa3f64c2da04ced35 100644 (file)
@@ -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
  ***************************************************************************/
 #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() */