* err_handle.c: Include autoconf.h and string.h.
authorKen Raeburn <raeburn@mit.edu>
Tue, 4 Apr 2006 01:37:52 +0000 (01:37 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 4 Apr 2006 01:37:52 +0000 (01:37 +0000)
(HAVE_PTHREAD_H): Undefine.

* Makefile.in (DEFS): Make empty.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17837 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kadm5/clnt/ChangeLog
src/lib/kadm5/clnt/Makefile.in
src/lib/kadm5/clnt/err_handle.c

index 553d573fab7393a7cad42eef90c172cb538771e9..5ffae1f3bb3f8b736bfe4ae531c5070885ad640d 100644 (file)
@@ -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.
index fd3f2e8953edc27b57a3a6eb61e53a5cc4cc5cf3..f4e4186fc2a835af506e9619265a0caf9d332549 100644 (file)
@@ -3,6 +3,7 @@ myfulldir=lib/kadm5/clnt
 mydir=clnt
 BUILDTOP=$(REL)..$(S)..$(S)..
 LOCALINCLUDES = -I$(BUILDTOP)/include/kadm5
+DEFS=
 
 LIBBASE=kadm5clnt
 LIBMAJOR=5
index 24bf2912ebf3476052a348391bc86f08fbeaf788..9db461175467d371a81467cd7b51ba66e6759ef0 100644 (file)
@@ -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;