]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/friendly.c
update locking codes, remove old platform specific defines
[openldap] / libraries / libldap / friendly.c
index fc90fc9cdc567fd63256893c4cba08e95354675b..0f5aa6acad7097551d67af5f724b90c4e8845e9b 100644 (file)
@@ -13,8 +13,8 @@ static char copyright[] = "@(#) Copyright (c) 1993 Regents of the University of
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <ctype.h>
 
+#include <ac/ctype.h>
 #include <ac/errno.h>
 #include <ac/socket.h>
 #include <ac/string.h>
@@ -32,9 +32,7 @@ ldap_friendly_name( char *filename, char *uname, FriendlyMap **map )
        char    buf[BUFSIZ];
 
        if ( map == NULL ) {
-#if !defined( MACOS ) && !defined( DOS )
                errno = EINVAL;
-#endif
                return( uname );
        }