From 8af71f71dd57ccaa6bd7f24c5b7d439239184ed3 Mon Sep 17 00:00:00 2001 From: scf Date: Thu, 8 May 2008 23:57:29 +0000 Subject: 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 --- include/readpassphrase.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/readpassphrase.h') 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 +#include + +#ifndef _SIZE_T_DECLARED +typedef __size_t size_t; +#define _SIZE_T_DECLARED +#endif __BEGIN_DECLS char * readpassphrase(const char *, char *, size_t, int); -- cgit v1.1