Missing include in aio_misc.h

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Missing include in aio_misc.h

Daniel Jacobowitz-2
For ARM NPTL, I needed this patch to get the value of
PTHREAD_STACK_MIN; it's being pulled in implicitly on other targets.

--
Daniel Jacobowitz
CodeSourcery

2006-02-27  Daniel Jacobowitz  <[hidden email]>

        * sysdeps/unix/sysv/linux/aio_misc.h: Include <limits.h>.

Index: glibc/nptl/sysdeps/unix/sysv/linux/aio_misc.h
===================================================================
--- glibc.orig/nptl/sysdeps/unix/sysv/linux/aio_misc.h 2004-05-26 00:26:48.000000000 -0400
+++ glibc/nptl/sysdeps/unix/sysv/linux/aio_misc.h 2005-12-23 12:13:11.000000000 -0500
@@ -22,6 +22,7 @@
 # include <signal.h>
 # include <sysdep.h>
 # include <pthread.h>
+# include <limits.h>
 
 # define aio_start_notify_thread __aio_start_notify_thread
 # define aio_create_helper_thread __aio_create_helper_thread