+Wed May 24 07:03:21 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * kadmin_del.c, kadmin_mod.c, kadmin_inq.c, kadmin_cpr.c,
+ kadmin_adr.c, kadmin_msnd.c, kadmin.c: Include stdlib.h or
+ declare malloc(), calloc() and realloc().
Mon May 22 09:55:54 EDT 1995 Paul Park (pjpark@mit.edu)
* Makefile.in - Install old kadmin as kadmin_old. Manpage too.
#include "krb5.h"
#include "adm_defs.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#else
+extern char *malloc(), *calloc(), *realloc();
+#endif
+
static krb5_error_code get_first_ticket
PROTOTYPE((krb5_context,
krb5_ccache,
return retval;
}
/* connect to the server */
- if (connect(*local_socket, &remote_sin, sizeof(remote_sin)) < 0) {
+ if (connect(*local_socket, (struct sockaddr *) &remote_sin, sizeof(remote_sin)) < 0) {
retval = errno;
fprintf(stderr, "Cannot Connect to Socket!\n");
close(*local_socket);
#include <krb5.h>
#include "adm_defs.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#else
+extern char *malloc(), *calloc(), *realloc();
+#endif
+
void decode_kadmind_reply();
int print_status_message();
#include <krb5.h>
#include "adm_defs.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#else
+extern char *malloc(), *calloc(), *realloc();
+#endif
+
void decode_kadmind_reply();
int print_status_message();
#include <krb5.h>
#include "adm_defs.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#else
+extern char *malloc(), *calloc(), *realloc();
+#endif
+
void decode_kadmind_reply();
int print_status_message();
#include <krb5.h>
#include "adm_defs.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#else
+extern char *malloc(), *calloc(), *realloc();
+#endif
+
void decode_kadmind_reply();
int print_status_message();
#include <krb5.h>
#include "adm_defs.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#else
+extern char *malloc(), *calloc(), *realloc();
+#endif
+
void decode_kadmind_reply();
int print_status_message();
#include <krb5.h>
#include "adm_defs.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#else
+extern char *malloc(), *calloc(), *realloc();
+#endif
+
#ifndef MAXPATHLEN
#define MAXPATHLEN 1024
#endif