diff --git a/newlib/libc/unix/getpass.c b/newlib/libc/unix/getpass.c index 6bd1c44a9..de23261cb 100644 --- a/newlib/libc/unix/getpass.c +++ b/newlib/libc/unix/getpass.c @@ -1,3 +1,4 @@ +#ifndef _NO_GETPASS /* * Copyright (c) 1988 The Regents of the University of California. * All rights reserved. @@ -97,3 +98,4 @@ getpass (prompt) (void) fclose (fp); return buf; } +#endif /* !_NO_GETPASS */