about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-03-13 00:33:58 -0700
committerDavid S. Miller <davem@davemloft.net>2012-03-13 00:41:37 -0700
commit09a3453f637006538b45f9da69d1895d26a15473 (patch)
tree0c5af86debfb0645b1913ca715b587b799f677d6
parent98bb2f1cd2b6eb794ecaf5ce4fcc3c79ee4df3e5 (diff)
downloadglibc-09a3453f637006538b45f9da69d1895d26a15473.tar.gz
glibc-09a3453f637006538b45f9da69d1895d26a15473.tar.xz
glibc-09a3453f637006538b45f9da69d1895d26a15473.zip
Add missing string.h include for strcpy calls.
	* nss/nss_db/db-init.c: Include string.h
-rw-r--r--ChangeLog4
-rw-r--r--nss/nss_db/db-init.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e9ea42a673..dc93fce69e 100644
--- 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
diff --git a/nss/nss_db/db-init.c b/nss/nss_db/db-init.c
index 906331ae0a..d23e8f81d6 100644
--- a/nss/nss_db/db-init.c
+++ b/nss/nss_db/db-init.c
@@ -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
 {