diff options
author | Roland McGrath <roland@hack.frob.com> | 2013-05-01 09:27:09 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2013-05-01 09:27:09 -0700 |
commit | 1324e37f2e36fb641b82ad7b353fa28d5d57e44b (patch) | |
tree | 0e528b5565191dea14f28a9e28f6a7ba50777636 | |
parent | 0695940b8ab4b7e69492e8ea071d19fc17dda092 (diff) | |
download | glibc-1324e37f2e36fb641b82ad7b353fa28d5d57e44b.tar.gz glibc-1324e37f2e36fb641b82ad7b353fa28d5d57e44b.tar.xz glibc-1324e37f2e36fb641b82ad7b353fa28d5d57e44b.zip |
Add missing #include in sysdeps/posix/opendir.c.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sysdeps/posix/opendir.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index f9a9bdcbea..cd846f94ea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-05-01 Roland McGrath <roland@hack.frob.com> + + * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros. + 2013-05-01 Richard Smith <richard@metafoo.co.uk> * misc/sys/cdefs.h (__extern_inline, __extern_always_inline) diff --git a/sysdeps/posix/opendir.c b/sysdeps/posix/opendir.c index 0efeb5d30d..ddfc3a7510 100644 --- a/sysdeps/posix/opendir.c +++ b/sysdeps/posix/opendir.c @@ -22,6 +22,7 @@ #include <stdlib.h> #include <dirent.h> #include <fcntl.h> +#include <sys/param.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> |