summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/kadm5/clnt/ChangeLog7
-rw-r--r--src/lib/kadm5/clnt/Makefile.in1
-rw-r--r--src/lib/kadm5/clnt/err_handle.c5
3 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/kadm5/clnt/ChangeLog b/src/lib/kadm5/clnt/ChangeLog
index 553d573fa..5ffae1f3b 100644
--- a/src/lib/kadm5/clnt/ChangeLog
+++ b/src/lib/kadm5/clnt/ChangeLog
@@ -1,3 +1,10 @@
+2006-04-03 Ken Raeburn <raeburn@mit.edu>
+
+ * err_handle.c: Include autoconf.h and string.h.
+ (HAVE_PTHREAD_H): Undefine.
+
+ * Makefile.in (DEFS): Make empty.
+
2006-03-31 Ken Raeburn <raeburn@mit.edu>
* client_init.c: Include autoconf.h.
diff --git a/src/lib/kadm5/clnt/Makefile.in b/src/lib/kadm5/clnt/Makefile.in
index fd3f2e895..f4e4186fc 100644
--- a/src/lib/kadm5/clnt/Makefile.in
+++ b/src/lib/kadm5/clnt/Makefile.in
@@ -3,6 +3,7 @@ myfulldir=lib/kadm5/clnt
mydir=clnt
BUILDTOP=$(REL)..$(S)..$(S)..
LOCALINCLUDES = -I$(BUILDTOP)/include/kadm5
+DEFS=
LIBBASE=kadm5clnt
LIBMAJOR=5
diff --git a/src/lib/kadm5/clnt/err_handle.c b/src/lib/kadm5/clnt/err_handle.c
index 24bf2912e..9db461175 100644
--- a/src/lib/kadm5/clnt/err_handle.c
+++ b/src/lib/kadm5/clnt/err_handle.c
@@ -16,11 +16,16 @@ static char *_csrc =
safety requirement stops me from putting there. If I do, then all
the applications have to link to pthread. */
+#include "autoconf.h"
+/* XXX This file doesn't build multithreaded at the moment. */
+#undef HAVE_PTHREAD_H
+
#ifdef HAVE_PTHREAD_H
#include <pthread.h>
#endif
#include "err_handle.h"
#include <assert.h>
+#include <string.h>
#ifdef NOVELL
krb5_errcode_2_string_func old_error_2_string = NULL;