mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
ITS#4880 from HEAD
This commit is contained in:
parent
971d9ba2be
commit
8a4f218c22
@ -17,7 +17,7 @@
|
||||
#ifndef _AC_TERMIOS_H
|
||||
#define _AC_TERMIOS_H
|
||||
|
||||
#ifdef HAVE_POSIX_TERMIOS
|
||||
#ifdef HAVE_TERMIOS_H
|
||||
#include <termios.h>
|
||||
|
||||
#ifdef GCWINSZ_IN_SYS_IOCTL
|
||||
|
@ -60,7 +60,7 @@
|
||||
char *
|
||||
lutil_getpass( const char *prompt )
|
||||
{
|
||||
#if !defined(HAVE_POSIX_TERMIOS) && !defined(HAVE_SGTTY_H)
|
||||
#if !defined(HAVE_TERMIOS_H) && !defined(HAVE_SGTTY_H)
|
||||
static char buf[256];
|
||||
int i, c;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user