Some #include cleanup in aio/timer code.
authorRoland McGrath <roland@hack.frob.com>
Thu, 8 Jan 2015 23:38:15 +0000 (15:38 -0800)
committerRoland McGrath <roland@hack.frob.com>
Thu, 8 Jan 2015 23:38:15 +0000 (15:38 -0800)
ChangeLog
sysdeps/pthread/aio_notify.c
sysdeps/pthread/timer_routines.c

index a84c0cb..0ad34c3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2015-01-08  Roland McGrath  <roland@hack.frob.com>
 
+       * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
+       <nptl/pthreadP.h> instead.
+       * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
+
        * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
        already defined.
        [__SIGRTMIN] (init): Function removed.
index 7eeff1f..686328e 100644 (file)
@@ -22,6 +22,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <aio_misc.h>
+#include <signal.h>
 
 #ifndef aio_start_notify_thread
 # define aio_start_notify_thread() do { } while (0)
index 1770e12..f2d48f9 100644 (file)
@@ -29,7 +29,7 @@
 #include <sys/syscall.h>
 
 #include "posix-timer.h"
-#include <pthreadP.h>
+#include <nptl/pthreadP.h>
 
 
 /* Number of threads used.  */