summaryrefslogtreecommitdiffstats
path: root/include/readpassphrase.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/readpassphrase.h')
-rw-r--r--include/readpassphrase.h6
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);
OpenPOWER on IntegriCloud