diff options
author | Marek Polacek <mpolacek@redhat.com> | 2011-06-24 02:57:27 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-06-24 02:57:27 -0400 |
commit | 07f494a027b3adea1f3cd0cd4ca7c10949cdc476 (patch) | |
tree | dd408db01660710e33f8f73b013cecdedeb20eef | |
parent | fa3fc0fe5f452d0aa7e435d8f32e992958683819 (diff) | |
download | glibc-07f494a027b3adea1f3cd0cd4ca7c10949cdc476.tar.gz glibc-07f494a027b3adea1f3cd0cd4ca7c10949cdc476.tar.xz glibc-07f494a027b3adea1f3cd0cd4ca7c10949cdc476.zip |
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.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | nss/nss_db/db-open.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index ad7303f886..b4d6496886 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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] diff --git a/nss/nss_db/db-open.c b/nss/nss_db/db-open.c index 36ce494d02..5a805cffbf 100644 --- a/nss/nss_db/db-open.c +++ b/nss/nss_db/db-open.c @@ -22,6 +22,7 @@ #include <dlfcn.h> #include <stdlib.h> #include <string.h> +#include <unistd.h> #include <sys/mman.h> #include <not-cancel.h> |