about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2012-01-08 13:21:50 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-08 13:21:50 -0500
commitc473bd1cd99db042dc1958c1bbaff3cba01a7893 (patch)
tree91fb1860712c07377893975381545529ebe1a990
parentd9a216c037590c414e4069afde01fde84794e0d6 (diff)
downloadglibc-c473bd1cd99db042dc1958c1bbaff3cba01a7893.tar.gz
glibc-c473bd1cd99db042dc1958c1bbaff3cba01a7893.tar.xz
glibc-c473bd1cd99db042dc1958c1bbaff3cba01a7893.zip
Quash implicit declaration warning
-rw-r--r--nptl/ChangeLog4
-rw-r--r--nptl/sysdeps/unix/sysv/linux/mq_notify.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 3f9b2424dc..c7d280720c 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,7 @@
+2012-01-08  Marek Polacek  <polacek@redhat.com>
+
+	* sysdeps/unix/sysv/linux/mq_notify.c: Include <nptl/pthreadP.h>.
+
 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
 
 	[BZ #13553]
diff --git a/nptl/sysdeps/unix/sysv/linux/mq_notify.c b/nptl/sysdeps/unix/sysv/linux/mq_notify.c
index 11ffc328e7..bc4a01f184 100644
--- a/nptl/sysdeps/unix/sysv/linux/mq_notify.c
+++ b/nptl/sysdeps/unix/sysv/linux/mq_notify.c
@@ -30,6 +30,7 @@
 #include <sys/socket.h>
 #include <not-cancel.h>
 #include <kernel-features.h>
+#include <nptl/pthreadP.h>
 
 
 #ifdef __NR_mq_notify