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 /nss/nss_db/db-open.c | |
parent | fa3fc0fe5f452d0aa7e435d8f32e992958683819 (diff) | |
download | glibc-07f494a027b3adea1f3cd0cd4ca7c10949cdc476.zip glibc-07f494a027b3adea1f3cd0cd4ca7c10949cdc476.tar.gz glibc-07f494a027b3adea1f3cd0cd4ca7c10949cdc476.tar.bz2 |
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.
Diffstat (limited to 'nss/nss_db/db-open.c')
-rw-r--r-- | nss/nss_db/db-open.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nss/nss_db/db-open.c b/nss/nss_db/db-open.c index 36ce494..5a805cf 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> |