Bug 213442

Summary: kdelibs/kdecore/fakes.c fails to compile - strlcpy and strlcat need #include <string.h>
Product: [I don't know] kde Reporter: Hermann Gundel <Hermann.Gundel>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Hermann Gundel 2009-11-06 17:39:31 UTC
Version:            (using KDE 4.3.3)
Compiler:          gcc 4.4 
OS:                Linux
Installed from:    Gentoo Packages

Compiling fakes.c fails in function strlcpy
line 318:implicit declaration of function strlen
line 323: implicit declaration function memcpy

and in function strlcat 
line 339: implicit declaration function memcpy

obviously for both functions there is missing
#include <string.h>
Comment 1 Christoph Feck 2009-11-07 14:11:26 UTC

*** This bug has been marked as a duplicate of bug 213223 ***