]> git.sur5r.net Git - openldap/blobdiff - contrib/saucer/main.c
Add AC_CANONICAL_SYSTEM to generate $target
[openldap] / contrib / saucer / main.c
index 8d866dcd44faee7e9e71c8651ccd063decf41523..605c1ad4ed959a639214cac26d94b4b239147ff5 100644 (file)
@@ -20,7 +20,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #ifdef HAVE_READLINE
 #  include <readline/readline.h>
@@ -613,7 +614,7 @@ int main(int argc, char **argv)
                case 'd':
 #ifdef LDAP_DEBUG
                        tmp = atoi(optarg);
-                       lber_set_option(NULL, LBER_OPT_DEBUG_LEVEL, &tmp);
+                       ber_set_option(NULL, LBER_OPT_DEBUG_LEVEL, &tmp);
                        ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, &tmp);
 #endif
                        break;