aboutsummaryrefslogtreecommitdiff
path: root/kern/ipc_mig.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/ipc_mig.c')
-rw-r--r--kern/ipc_mig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kern/ipc_mig.c b/kern/ipc_mig.c
index cb0b2c83..d6171877 100644
--- a/kern/ipc_mig.c
+++ b/kern/ipc_mig.c
@@ -27,6 +27,7 @@
#include <mach/boolean.h>
#include <mach/port.h>
#include <mach/message.h>
+#include <mach/mig_support.h>
#include <mach/thread_status.h>
#include <machine/locore.h>
#include <machine/copy_user.h>
@@ -285,7 +286,7 @@ mig_put_reply_port(
* len - Length of destination buffer.
*/
vm_size_t
-mig_strncpy(char *dest, const char *src, int len)
+mig_strncpy(char *dest, const char *src, vm_size_t len)
{
char *dest_ = dest;
int i;