From 20a2422c1479476acd407bae9345ea6482aeca3b Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Thu, 14 Jul 2011 14:53:00 -0500 Subject: [PATCH] util: Include pthread.h in afsutil_prototypes.h afsutil_prototypes.h can reference pthread_t when we are in AFS_PTHREAD_ENV. So, include pthread.h to guarantee we get the definition for pthread_t. Change-Id: Ib46c2cf3b3fdd2dcd61a7b8ac4d5512fecd084ff Reviewed-on: http://gerrit.openafs.org/5023 Tested-by: Andrew Deason Reviewed-by: Derrick Brashear --- src/util/afsutil_prototypes.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/util/afsutil_prototypes.h b/src/util/afsutil_prototypes.h index 150538623..ded6e666d 100644 --- a/src/util/afsutil_prototypes.h +++ b/src/util/afsutil_prototypes.h @@ -10,6 +10,10 @@ #ifndef _AFSUTIL_PROTOTYPES_H #define _AFSUTIL_PROTOTYPES_H +#if defined(AFS_PTHREAD_ENV) && !defined(AFS_NT40_ENV) +# include +#endif + /* afs_atomlist.c */ -- 2.39.5