This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED PATCH] Add missing #include in sysdeps/posix/opendir.c.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Wed, 1 May 2013 09:27:58 -0700 (PDT)
- Subject: [COMMITTED PATCH] Add missing #include in sysdeps/posix/opendir.c.
2013-05-01 Roland McGrath <roland@hack.frob.com>
* sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
--- 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>