Remove LDAP_LIBUI dependency.

This commit is contained in:
Kurt Zeilenga 1999-06-01 02:03:21 +00:00
parent 68e64e768b
commit 60d9aeed6e
2 changed files with 4 additions and 6 deletions

View File

@ -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) );

View File

@ -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;
}