This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Add missing string.h include for strcpy calls.
- From: David Miller <davem at davemloft dot net>
- To: libc-alpha at sourceware dot org
- Date: Tue, 13 Mar 2012 00:38:02 -0700 (PDT)
- Subject: [PATCH] Add missing string.h include for strcpy calls.
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