From ad3eb7227efd1ae91e71481a9b2ada00bfea278e Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Fri, 30 Jan 2004 21:41:20 +0000 Subject: [PATCH] prof-int.h should include pthread.h when USE_PTHREADS is defined ticket: 2180 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15985 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/profile/ChangeLog | 5 +++++ src/util/profile/prof_int.h | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog index efc822b98..bab4b5368 100644 --- a/src/util/profile/ChangeLog +++ b/src/util/profile/ChangeLog @@ -1,3 +1,8 @@ +2004-01-30 Alexandra Ellwood + + * prof-int.h: prof-int.h should include pthread.h when USE_PTHREADS + is defined. + 2003-12-19 Ken Raeburn * prof_get.c (profile_iterator_create): NAMES argument points to diff --git a/src/util/profile/prof_int.h b/src/util/profile/prof_int.h index 06fce8757..919141168 100644 --- a/src/util/profile/prof_int.h +++ b/src/util/profile/prof_int.h @@ -4,6 +4,7 @@ #include #include + #if defined(macintosh) || (defined(__MACH__) && defined(__APPLE__)) #include #define USE_PTHREADS @@ -11,6 +12,11 @@ #define SHARE_TREE_DATA #endif +#if defined(USE_PTHREADS) +#include +#include +#endif + #include "com_err.h" #include "profile.h" -- 2.26.2