#
# This patch addresses two issues:
#
# 1. gssapi.hin modification will address redefinition errors when compiling
# ON gate using userland kerberos package.
#
# 2. admin.h modification was requested by AK team to avoid extern declaration
# of kadm5_get_master().
#
# NOTE: These two modifications are solaris specific changes and will not be
# pushed upstream. We will maintain them as patch.
# Patch source: in-house
#
@@ -55,11 +55,6 @@ extern "C" {
#include <stdint.h>
/*
- * First, include stddef.h to get size_t defined.
- */
-#include <stddef.h>
-
-/*
* POSIX says that sys/types.h is where size_t is defined.
*/
#include <sys/types.h>
@@ -547,6 +547,9 @@ kadm5_ret_t kadm5_free_strings(void *server_handle,
krb5_string_attr *strings,
int count);
+kadm5_ret_t kadm5_get_master(krb5_context context, const char *realm,
+ char **master);
+
KADM5INT_END_DECLS
#endif /* __KADM5_ADMIN_H__ */