[COMMITTED PATCH] Some #include cleanup in aio/timer code.
Roland McGrath
roland@hack.frob.com
Thu Jan 8 23:39:00 GMT 2015
* 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.
--- a/sysdeps/pthread/aio_notify.c
+++ b/sysdeps/pthread/aio_notify.c
@@ -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)
--- a/sysdeps/pthread/timer_routines.c
+++ b/sysdeps/pthread/timer_routines.c
@@ -29,7 +29,7 @@
#include <sys/syscall.h>
#include "posix-timer.h"
-#include <pthreadP.h>
+#include <nptl/pthreadP.h>
/* Number of threads used. */
More information about the Libc-alpha
mailing list