diff options
| author | Alexandra Ellwood <lxs@mit.edu> | 2004-01-30 21:41:20 +0000 |
|---|---|---|
| committer | Alexandra Ellwood <lxs@mit.edu> | 2004-01-30 21:41:20 +0000 |
| commit | ad3eb7227efd1ae91e71481a9b2ada00bfea278e (patch) | |
| tree | fce64370077dfc26eff01f1e412874ea4c343306 /src | |
| parent | d0a877277c29b316399dfcac6a7c7bb4b398aadc (diff) | |
| download | krb5-ad3eb7227efd1ae91e71481a9b2ada00bfea278e.tar.gz krb5-ad3eb7227efd1ae91e71481a9b2ada00bfea278e.tar.xz krb5-ad3eb7227efd1ae91e71481a9b2ada00bfea278e.zip | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/util/profile/ChangeLog | 5 | ||||
| -rw-r--r-- | src/util/profile/prof_int.h | 6 |
2 files changed, 11 insertions, 0 deletions
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 <lxs@mit.edu> + + * prof-int.h: prof-int.h should include pthread.h when USE_PTHREADS + is defined. + 2003-12-19 Ken Raeburn <raeburn@mit.edu> * 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 <time.h> #include <stdio.h> + #if defined(macintosh) || (defined(__MACH__) && defined(__APPLE__)) #include <TargetConditionals.h> #define USE_PTHREADS @@ -11,6 +12,11 @@ #define SHARE_TREE_DATA #endif +#if defined(USE_PTHREADS) +#include <sys/types.h> +#include <pthread.h> +#endif + #include "com_err.h" #include "profile.h" |
