[PATCH] Add missing string.h include for strcpy calls.

David Miller davem@davemloft.net
Tue Mar 13 07:38:00 GMT 2012


I noticed this being warned about in my builds, it looked obvious
enough so I committed this to master.

	* nss/nss_db/db-init.c: Include string.h
---
 nss/nss_db/db-init.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/nss/nss_db/db-init.c b/nss/nss_db/db-init.c
index 906331a..d23e8f8 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
 {
-- 
1.7.6.401.g6a319



More information about the Libc-alpha mailing list