about summary refs log tree commit diff
path: root/sysdeps/nptl
diff options
context:
space:
mode:
authorMatthew Krupcale <mkrupcale@matthewkrupcale.com>2017-07-06 10:22:20 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-07-06 10:27:24 -0300
commit3adfef7eaafae8dc00fa12cdecde68c01b7d565a (patch)
tree1b5357a8866d36bf110feead1b815fa107da268c /sysdeps/nptl
parent031e519c95c069abe4e4c7c59e2b4b67efccdee5 (diff)
downloadglibc-3adfef7eaafae8dc00fa12cdecde68c01b7d565a.tar.gz
glibc-3adfef7eaafae8dc00fa12cdecde68c01b7d565a.tar.xz
glibc-3adfef7eaafae8dc00fa12cdecde68c01b7d565a.zip
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.
Diffstat (limited to 'sysdeps/nptl')
-rw-r--r--sysdeps/nptl/bits/pthreadtypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/nptl/bits/pthreadtypes.h b/sysdeps/nptl/bits/pthreadtypes.h
index 8839559f5a..0941e9eb96 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