diff options
author | Sean Farley <scf@FreeBSD.org> | 2008-05-08 23:57:29 +0000 |
---|---|---|
committer | Sean Farley <scf@FreeBSD.org> | 2008-05-08 23:57:29 +0000 |
commit | 074fb5c7cc472f3e5d4be34c43a74e4f3d4d8ae0 (patch) | |
tree | 586ed21eb91b1f34817871f21297bfd7120f66b4 | |
parent | 790fce68ddcc895e34bfde6863cdf576bb2c3781 (diff) | |
download | src-074fb5c7cc472f3e5d4be34c43a74e4f3d4d8ae0.tar.gz src-074fb5c7cc472f3e5d4be34c43a74e4f3d4d8ae0.zip |
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
Notes
Notes:
svn path=/head/; revision=178863
-rw-r--r-- | include/readpassphrase.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/readpassphrase.h b/include/readpassphrase.h index 031f51796c91..75cb8cb4a1d9 100644 --- a/include/readpassphrase.h +++ b/include/readpassphrase.h @@ -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); |