]> git.sur5r.net Git - openldap/blobdiff - libraries/liblutil/getpass.c
Fix ldaps / TLS processing...
[openldap] / libraries / liblutil / getpass.c
index ceb2ab99d025115d3f02a03a1e4d1eb94956c441..ce8f6de8c800a94b7dc021b048ffb722543afe96 100644 (file)
@@ -1,3 +1,8 @@
+/* $OpenLDAP$ */
+/*
+ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
 /*
  * Copyright (c) 1992, 1993  Regents of the University of Michigan.
  * All rights reserved.
 #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 +40,8 @@
 
 #include <lber.h>
 #include <ldap.h>
-#include <ldapconfig.h>
+
+#include "ldap_defaults.h"
 
 char *
 getpass( const char *prompt )
@@ -146,7 +152,7 @@ getpass( const char *prompt )
        if (no_pass)
                return(NULL);
        return(pbuf);
-#endif /* DOS */
+#endif
 }
 
 #endif /* !HAVE_GETPASS */