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 a079a18d7e79042ac5869b48cd329d0aab1fb0bd..e081609a25290954b76ec3b8c5ca18c4d01040ac 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 2c317770f9b9d2a027efbed1b32af3a36d45395f..d94f4c94831912b9faacec818a59f604ce3b66e2 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 03619230ff161748ff83a215c9606a949699d586..57644c3365a302772c4f00ee68a9523ca5432b0e 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 b15c83554e732a0363690e3b5dec2eb8af3aef23..c80fef47c4679eaa26eacb5d05f8b6b437abbc83 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 25208cdc539233c9a6d86380bdc283b9e2cb6247..99d4c27cb93eb9346b6e430b270bea00ae867197 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>