]> git.sur5r.net Git - openldap/blobdiff - libraries/liblutil/getpass.c
close registry, and return static pointer (no free) from getRegParam
[openldap] / libraries / liblutil / getpass.c
index c5cc6b0e32245598cd85b4aaf8cb05c65bdaab74..865c7d1885f7d6657cc0242179adcdc982406350 100644 (file)
 #ifndef HAVE_GETPASS
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
-#include <ac/errno.h>
 #include <ac/signal.h>
 #include <ac/string.h>
 #include <ac/termios.h>
@@ -35,7 +35,7 @@
 
 #include <lber.h>
 #include <ldap.h>
-#include <ldapconfig.h>
+#include <ldap_defaults.h>
 
 char *
 getpass( const char *prompt )
@@ -146,7 +146,7 @@ getpass( const char *prompt )
        if (no_pass)
                return(NULL);
        return(pbuf);
-#endif /* DOS */
+#endif
 }
 
-#endif /* !HAVE_GETPASS */
\ No newline at end of file
+#endif /* !HAVE_GETPASS */