1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00

Hurd: Add missing includes

This commit is contained in:
Thomas Schwinge
2012-05-10 15:13:54 -07:00
committed by Roland McGrath
parent a4186cffbf
commit e468f8a3a7
3 changed files with 12 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
2012-05-10 Thomas Schwinge <thomas@schwinge.name>
* nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
<sys/uio.h> (for writev).
* nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
and <sys/param.h> (for MIN).
2012-05-10 Pino Toscano <toscano.pino@tiscali.it> 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
* sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of

View File

@@ -1,5 +1,5 @@
/* Create simple DB database from textual input. /* Create simple DB database from textual input.
Copyright (C) 1996-2000, 2011, 2012 Free Software Foundation, Inc. Copyright (C) 1996-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
@@ -32,7 +32,9 @@
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <sys/mman.h> #include <sys/mman.h>
#include <sys/param.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/uio.h>
#include "nss_db/nss_db.h" #include "nss_db/nss_db.h"
/* Get libc version number. */ /* Get libc version number. */

View File

@@ -20,8 +20,10 @@
#include <ctype.h> #include <ctype.h>
#include <errno.h> #include <errno.h>
#include <grp.h> #include <grp.h>
#include <limits.h>
#include <paths.h> #include <paths.h>
#include <string.h> #include <string.h>
#include <sys/param.h>
#include "nss_db.h" #include "nss_db.h"