Skip to content

Commit

Permalink
Add missing header includes
Browse files Browse the repository at this point in the history
  • Loading branch information
Siguza committed Jun 10, 2023
1 parent 1cee828 commit d0f788c
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 3 deletions.
6 changes: 6 additions & 0 deletions checkra1n/kpf/developer_mode.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@
*/

#include "kpf.h"
#include <pongo.h>
#include <xnu/xnu.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

static bool need_developer_mode_patch = false;

Expand Down
4 changes: 4 additions & 0 deletions checkra1n/kpf/dyld.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
*/

#include "kpf.h"
#include <pongo.h>
#include <xnu/xnu.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>

extern uint32_t dyld_shc[], dyld_shc_ctx[], dyld_shc_lookup[], dyld_shc_put[], dyld_shc_end[];
Expand Down
3 changes: 3 additions & 0 deletions checkra1n/kpf/launch_constraints.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
*/

#include "kpf.h"
#include <pongo.h>
#include <xnu/xnu.h>
#include <stdint.h>
#include <string.h>

static bool need_launch_constraints_patch = false;

Expand Down
5 changes: 5 additions & 0 deletions checkra1n/kpf/mach_port.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@
*/

#include "kpf.h"
#include <pongo.h>
#include <xnu/xnu.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>

static bool need_convert_port_to_map_patch = false;
static bool found_convert_port_to_map = false;
Expand Down
6 changes: 5 additions & 1 deletion checkra1n/kpf/nvram.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@
*/

#include "kpf.h"
#include <string.h>
#include <pongo.h>
#include <xnu/xnu.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>

extern uint32_t nvram_shc[], nvram_shc_end[];

Expand Down
7 changes: 5 additions & 2 deletions checkra1n/kpf/overlay.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@
*/

#include "kpf.h"
#include <stdlib.h>
#include <string.h>
#include <kerninfo.h>
#include <pongo.h>
#include <xnu/xnu.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

extern uint32_t kdi_shc[], kdi_shc_orig[], kdi_shc_get[], kdi_shc_addr[], kdi_shc_size[], kdi_shc_new[], kdi_shc_set[], kdi_shc_end[];

Expand Down
4 changes: 4 additions & 0 deletions checkra1n/kpf/trustcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
*/

#include "kpf.h"
#include <pongo.h>
#include <xnu/xnu.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>

static bool found_trustcache = false;

Expand Down
4 changes: 4 additions & 0 deletions checkra1n/kpf/vfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
*/

#include "kpf.h"
#include <pongo.h>
#include <xnu/xnu.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>

static uint64_t vfs_context_current, vnode_lookup, vnode_put;

Expand Down

0 comments on commit d0f788c

Please sign in to comment.