mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Remove LDAP_LIBUI dependency.
This commit is contained in:
parent
68e64e768b
commit
60d9aeed6e
@ -26,7 +26,7 @@
|
||||
|
||||
#ifdef HAVE_CONSOLE_H
|
||||
#include <console.h>
|
||||
#endif /* MACOS */
|
||||
#endif
|
||||
|
||||
#include <lber.h>
|
||||
|
||||
@ -58,7 +58,7 @@ main( int argc, char **argv )
|
||||
#ifdef HAVE_CONSOLE_H
|
||||
ccommand( &argv );
|
||||
cshow( stdout );
|
||||
#endif /* MACOS */
|
||||
#endif
|
||||
|
||||
sb = ber_sockbuf_alloc_fd( fileno(stdin) );
|
||||
|
||||
|
@ -71,7 +71,7 @@ main( int argc, char **argv )
|
||||
|
||||
#else
|
||||
fd = fileno(stdout);
|
||||
#endif /* MACOS */
|
||||
#endif
|
||||
|
||||
sb = ber_sockbuf_alloc_fd( fd );
|
||||
|
||||
@ -128,9 +128,7 @@ main( int argc, char **argv )
|
||||
break;
|
||||
|
||||
default:
|
||||
#ifdef LDAP_LIBUI
|
||||
fprintf( stderr, "unknown fmt %c\n", *fmt );
|
||||
#endif /* LDAP_LIBUI */
|
||||
fprintf( stderr, "encode: unknown fmt %c\n", *fmt );
|
||||
rc = -1;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user