]> git.sur5r.net Git - openldap/blobdiff - libraries/liblutil/getpass.c
Add OpenLDAP RCSid to *.[ch] in clients, libraries, and servers.
[openldap] / libraries / liblutil / getpass.c
index eddcd4eaf52156db31d212a131d9174596c98981..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.
@@ -19,7 +24,6 @@
 #include <ac/stdlib.h>
 
 #include <ac/ctype.h>
-#include <ac/errno.h>
 #include <ac/signal.h>
 #include <ac/string.h>
 #include <ac/termios.h>
@@ -36,7 +40,8 @@
 
 #include <lber.h>
 #include <ldap.h>
-#include <ldapconfig.h>
+
+#include "ldap_defaults.h"
 
 char *
 getpass( const char *prompt )
@@ -147,7 +152,7 @@ getpass( const char *prompt )
        if (no_pass)
                return(NULL);
        return(pbuf);
-#endif /* DOS */
+#endif
 }
 
 #endif /* !HAVE_GETPASS */