Message ID | 20170802210758.xa44eghauymoco2o@var.youpi.perso.aquilenet.fr |
---|---|
State | New |
Headers | show |
On Wed, 2 Aug 2017, Samuel Thibault wrote:
> * sysdeps/posix/shm_open.c: Include <pthread.h>.
Note that this (adding such missing includes) counts as obvious and does
not need review.
https://sourceware.org/glibc/wiki/Consensus#Trivial_Bug-Fix_Changes
Joseph Myers, on mer. 02 août 2017 22:27:13 +0000, wrote: > On Wed, 2 Aug 2017, Samuel Thibault wrote: > > > * sysdeps/posix/shm_open.c: Include <pthread.h>. > > Note that this (adding such missing includes) counts as obvious and does > not need review. > > https://sourceware.org/glibc/wiki/Consensus#Trivial_Bug-Fix_Changes Right. I thought perhaps including pthread.h in particular could have consequences, but normally there aren't indeed. Samuel
diff --git a/sysdeps/posix/shm_open.c b/sysdeps/posix/shm_open.c index 64315de8f8..eeb6cb5589 100644 --- a/sysdeps/posix/shm_open.c +++ b/sysdeps/posix/shm_open.c @@ -25,6 +25,7 @@ #else # include <fcntl.h> +# include <pthread.h> # include <shm-directory.h>