aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSean Farley <scf@FreeBSD.org>2008-05-16 01:06:01 +0000
committerSean Farley <scf@FreeBSD.org>2008-05-16 01:06:01 +0000
commit093bf02a5638d0912d1c516a753a20bc77180bb9 (patch)
tree9c305ad06582c480a7aef8969f33481ce06a593d /include
parent44d03c9f42342b8243edf3bbc83f68b1332786b6 (diff)
Notes
Diffstat (limited to 'include')
-rw-r--r--include/readpassphrase.h6
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);