diff options
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 efc822b989..bab4b53682 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 06fce87577..919141168f 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" |
