Define the size_t type since readpassphrase(3) requires it in its

definition and sys/types.h is not listed within the synopsis of the man
page.

MFC after:	1 week
This commit is contained in:
Sean Farley 2008-05-08 23:57:29 +00:00
parent 790fce68dd
commit 074fb5c7cc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178863

View File

@ -39,6 +39,12 @@
#define RPP_SEVENBIT 0x10 /* Strip the high bit from input. */
#include <sys/cdefs.h>
#include <sys/_types.h>
#ifndef _SIZE_T_DECLARED
typedef __size_t size_t;
#define _SIZE_T_DECLARED
#endif
__BEGIN_DECLS
char * readpassphrase(const char *, char *, size_t, int);