]> git.cameronkatri.com Git - apple_cmds.git/blobdiff - system_cmds/gcore.tproj/convert.c
Merge branch 'apple'
[apple_cmds.git] / system_cmds / gcore.tproj / convert.c
index b9457336dcbd57cdc806b1901f081a44e6676245..5e38244108a38c654d13eda054396cccb9cb15fb 100644 (file)
@@ -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>