about summary refs log tree commit diff
diff options
context:
space:
mode:
-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
 {