diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sysdeps/posix/opendir.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -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> |