Add missing #include in sysdeps/posix/opendir.c.
authorRoland McGrath <roland@hack.frob.com>
Wed, 1 May 2013 16:27:09 +0000 (09:27 -0700)
committerRoland McGrath <roland@hack.frob.com>
Wed, 1 May 2013 16:27:09 +0000 (09:27 -0700)
ChangeLog
sysdeps/posix/opendir.c

index f9a9bdcbeacfda265650dc9677173e57ef234acb..cd846f94ea6edea41529456bec9daa1044585fca 100644 (file)
--- 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)
index 0efeb5d30dbd1caf148e4840583ed990f9b50240..ddfc3a7510e6ba9487cdd8529881b00eef058547 100644 (file)
@@ -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>