Add missing string.h include for strcpy calls.

* nss/nss_db/db-init.c: Include string.h
This commit is contained in:
David S. Miller 2012-03-13 00:33:58 -07:00
parent 98bb2f1cd2
commit 09a3453f63
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2012-03-13 David S. Miller <davem@davemloft.net>
* nss/nss_db/db-init.c: Include string.h
2012-03-12 David S. Miller <davem@davemloft.net> 2012-03-12 David S. Miller <davem@davemloft.net>
* sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix

View File

@ -1,5 +1,5 @@
/* Initialization in nss_db module. /* Initialization in nss_db module.
Copyright (C) 2011 Free Software Foundation, Inc. Copyright (C) 2011, 2012 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -18,7 +18,7 @@
#include <paths.h> #include <paths.h>
#include <nscd/nscd.h> #include <nscd/nscd.h>
#include <string.h>
static union static union
{ {