Add missing #include for MIN/MAX users.
authorRoland McGrath <roland@hack.frob.com>
Tue, 1 Jul 2014 22:01:24 +0000 (15:01 -0700)
committerRoland McGrath <roland@hack.frob.com>
Tue, 1 Jul 2014 22:01:24 +0000 (15:01 -0700)
ChangeLog
nptl/pthread_mutex_lock.c
nptl/pthread_mutex_timedlock.c
nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c
sysdeps/unix/sysv/linux/sysconf.c

index a079a18..e081609 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2014-07-01  Roland McGrath  <roland@hack.frob.com>
+
+       * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
+       * nptl/pthread_mutex_lock.c: Likewise.
+       * nptl/pthread_mutex_timedlock.c: Likewise.
+       * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
+
 2014-07-01  Richard henderson  <rth@redhat.com>
 
        * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
index 2c31777..d94f4c9 100644 (file)
@@ -20,6 +20,7 @@
 #include <errno.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <sys/param.h>
 #include <not-cancel.h>
 #include "pthreadP.h"
 #include <lowlevellock.h>
index 0361923..57644c3 100644 (file)
@@ -19,6 +19,7 @@
 #include <assert.h>
 #include <errno.h>
 #include <time.h>
+#include <sys/param.h>
 #include "pthreadP.h"
 #include <lowlevellock.h>
 #include <not-cancel.h>
index b15c835..c80fef4 100644 (file)
@@ -22,6 +22,7 @@
 #include <string.h>
 #include <sysdep.h>
 #include <sys/types.h>
+#include <sys/param.h>
 #include <shlib-compat.h>
 
 
index 25208cd..99d4c27 100644 (file)
@@ -23,6 +23,7 @@
 #include <time.h>
 #include <unistd.h>
 #include <sys/resource.h>
+#include <sys/param.h>
 #include <not-cancel.h>
 #include <ldsodefs.h>