Add missing string.h include for strcpy calls.
authorDavid S. Miller <davem@davemloft.net>
Tue, 13 Mar 2012 07:33:58 +0000 (00:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Mar 2012 07:41:37 +0000 (00:41 -0700)
* nss/nss_db/db-init.c: Include string.h

ChangeLog
nss/nss_db/db-init.c

index e9ea42a..dc93fce 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
index 906331a..d23e8f8 100644 (file)
@@ -1,5 +1,5 @@
 /* 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.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -18,7 +18,7 @@
 
 #include <paths.h>
 #include <nscd/nscd.h>
-
+#include <string.h>
 
 static union
 {