From c7d45576ee3bbf63eedacfcf09aa67da0c89f06d Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 4 Apr 2006 01:37:52 +0000 Subject: [PATCH] * err_handle.c: Include autoconf.h and string.h. (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 | 7 +++++++ src/lib/kadm5/clnt/Makefile.in | 1 + src/lib/kadm5/clnt/err_handle.c | 5 +++++ 3 files changed, 13 insertions(+) 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 + + * err_handle.c: Include autoconf.h and string.h. + (HAVE_PTHREAD_H): Undefine. + + * Makefile.in (DEFS): Make empty. + 2006-03-31 Ken Raeburn * 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 #endif #include "err_handle.h" #include +#include #ifdef NOVELL krb5_errcode_2_string_func old_error_2_string = NULL; -- 2.26.2