nss_db: Quash read implicit declaration warning

In the function `internal_setent' is used the function read, but the forward
declaration is missing.  Thusly fixed.
This commit is contained in:
Marek Polacek 2011-06-24 02:57:27 -04:00 committed by Ulrich Drepper
parent fa3fc0fe5f
commit 07f494a027
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2011-06-23 Marek Polacek <mpolacek@redhat.com>
* nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
2011-06-22 Ulrich Drepper <drepper@gmail.com>
[BZ #12907]

View File

@ -22,6 +22,7 @@
#include <dlfcn.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/mman.h>
#include <not-cancel.h>