Fix implicit declarations in p11util.c
authorDiego Elio Pettenò <flameeyes@gmail.com>
Fri, 14 Jan 2011 00:17:56 +0000 (01:17 +0100)
committerKlaus Heinrich Kiwi <klausk@linux.vnet.ibm.com>
Fri, 14 Jan 2011 17:25:08 +0000 (15:25 -0200)
commit8012e21645a956ce3e4fff0cccc0679cd705988c
treeff20027db963266b7fd60803e49de081da67b297
parentcde65028854e64413a9040c851ace81ba85faaa6
Fix implicit declarations in p11util.c

The sources require an inclusion of <string.h> for memmove() and of
<stdio.h> for sprintf().

Implicit declarations both cannot be properly validated by the compiler and
will stop fortified sources in modern glibc from working.
usr/lib/pkcs11/common/p11util.c