From: Matthew Krupcale Date: Thu, 6 Jul 2017 13:22:20 +0000 (-0300) Subject: nptl: Fix typo on __have_pthread_attr_t (BZ#21715) X-Git-Tag: glibc-2.26~140 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3adfef7eaafae8dc00fa12cdecde68c01b7d565a;p=thirdparty%2Fglibc.git nptl: Fix typo on __have_pthread_attr_t (BZ#21715) This patch fixes some build issues when including types/sigevent_t.h along with bits/pthreadtypes.h. Checked on x86_64-linux-gnu and on a build on supported major ABIs. [BZ #21715] * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo on definition. --- diff --git a/ChangeLog b/ChangeLog index 70e0a25eda7..04a2647d909 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2017-07-06 Matthew Krupcale + + [BZ #21715] + * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo + on definition. + 2017-07-06 Florian Weimer H.J. Lu diff --git a/sysdeps/nptl/bits/pthreadtypes.h b/sysdeps/nptl/bits/pthreadtypes.h index 8839559f5a0..0941e9eb961 100644 --- a/sysdeps/nptl/bits/pthreadtypes.h +++ b/sysdeps/nptl/bits/pthreadtypes.h @@ -60,7 +60,7 @@ union pthread_attr_t }; #ifndef __have_pthread_attr_t typedef union pthread_attr_t pthread_attr_t; -# define __have_pthread_attr_t1 +# define __have_pthread_attr_t 1 #endif