diff options
Diffstat (limited to 'system_cmds/gcore.tproj/convert.c')
-rw-r--r-- | system_cmds/gcore.tproj/convert.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/system_cmds/gcore.tproj/convert.c b/system_cmds/gcore.tproj/convert.c index b945733..5e38244 100644 --- a/system_cmds/gcore.tproj/convert.c +++ b/system_cmds/gcore.tproj/convert.c @@ -2,6 +2,7 @@ * Copyright (c) 2016 Apple Inc. All rights reserved. */ +typedef char *kobject_description_t[512]; #include "convert.h" #include "corefile.h" #include "vanilla.h" @@ -29,7 +30,8 @@ #include <spawn.h> #include <signal.h> #include <xpc/xpc.h> -#include <xpc/private.h> +/* Declare xpc_create_from_plist manually because xpc/private.h is closed source */ +xpc_object_t xpc_create_from_plist(void *data, size_t size); #include <sys/event.h> #include <sys/time.h> |