This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED PATCH] Some #include cleanup in aio/timer code.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Thu, 8 Jan 2015 15:39:00 -0800 (PST)
- Subject: [COMMITTED PATCH] Some #include cleanup in aio/timer code.
- Authentication-results: sourceware.org; auth=none
* 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. */