about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-07-01 15:01:24 -0700
committerRoland McGrath <roland@hack.frob.com>2014-07-01 15:01:24 -0700
commitca06321df0d5327f30b7ef7065278974dd89c6d8 (patch)
treeaddf6ff2a5834bb0f5b84afed34a6d9eed0fbe90 /nptl
parent631021e0aaefbf9fde4b4472e4ec1d51fffb9bbd (diff)
downloadglibc-ca06321df0d5327f30b7ef7065278974dd89c6d8.tar.gz
glibc-ca06321df0d5327f30b7ef7065278974dd89c6d8.tar.xz
glibc-ca06321df0d5327f30b7ef7065278974dd89c6d8.zip
Add missing #include for MIN/MAX users.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/pthread_mutex_lock.c1
-rw-r--r--nptl/pthread_mutex_timedlock.c1
-rw-r--r--nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/nptl/pthread_mutex_lock.c b/nptl/pthread_mutex_lock.c
index 2c317770f9..d94f4c9483 100644
--- a/nptl/pthread_mutex_lock.c
+++ b/nptl/pthread_mutex_lock.c
@@ -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>
diff --git a/nptl/pthread_mutex_timedlock.c b/nptl/pthread_mutex_timedlock.c
index 03619230ff..57644c3365 100644
--- a/nptl/pthread_mutex_timedlock.c
+++ b/nptl/pthread_mutex_timedlock.c
@@ -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>
diff --git a/nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c b/nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c
index b15c83554e..c80fef47c4 100644
--- a/nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c
+++ b/nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c
@@ -22,6 +22,7 @@
 #include <string.h>
 #include <sysdep.h>
 #include <sys/types.h>
+#include <sys/param.h>
 #include <shlib-compat.h>