diff options
author | scf <scf@FreeBSD.org> | 2008-05-08 23:57:29 +0000 |
---|---|---|
committer | scf <scf@FreeBSD.org> | 2008-05-08 23:57:29 +0000 |
commit | 8af71f71dd57ccaa6bd7f24c5b7d439239184ed3 (patch) | |
tree | 586ed21eb91b1f34817871f21297bfd7120f66b4 /include | |
parent | 2e695d33bd9de0cbbb71b8c7dcd1ac7a5dc8966f (diff) | |
download | FreeBSD-src-8af71f71dd57ccaa6bd7f24c5b7d439239184ed3.zip FreeBSD-src-8af71f71dd57ccaa6bd7f24c5b7d439239184ed3.tar.gz |
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
Diffstat (limited to 'include')
-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 031f517..75cb8cb 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); |