Error tables should always be loaded on other platforms.
* gss_libinit.c: updated for Mac OS X header paths and added
include of gssapiP_krb5.h to get function prototypes.
[pullups from 1-2-2-branch]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14647
dc483132-0cff-0310-8789-
dd5450dbe970
+2002-07-14 Alexandra Ellwood <lxs@mit.edu>
+
+ * gss_libinit.c: Conditionalized error table loading for Mac OS X.
+ Error tables should always be loaded on other platforms.
+
+ * gss_libinit.c: updated for Mac OS X header paths and added
+ include of gssapiP_krb5.h to get function prototypes.
+
+ [pullups from 1-2-2-branch]
+
2001-09-01 Ken Raeburn <raeburn@mit.edu>
* Makefile.in (SRCS): Use $(srcdir) not $(subdir).
#include <assert.h>
+#if TARGET_OS_MAC
+/* Mac OS X com_err files do not include com_err for you */
+#include <Kerberos/com_err.h>
+#endif
+
#include "gssapi_err_generic.h"
#include "gssapi_err_krb5.h"
#include "gssapiP_krb5.h"
{
if (!initialized) {
+#if !TARGET_OS_MAC || USE_HARDCODED_FALLBACK_ERROR_TABLES
add_error_table(&et_k5g_error_table);
add_error_table(&et_ggss_error_table);
+#endif
initialized = 1;
}