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 f9a9bdc..cd846f9 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 0efeb5d..ddfc3a7 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>