mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-21 09:47:01 +02:00
fix: remaining imports
This commit is contained in:
1 parent
5d537c7a16
commit
dd82099a64
5 files changed
+11
-4
No files matched your search
@@ -1,7 +1,9 @@
|
||||
#include "checkm8.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "payload.h"
|
||||
#include "dfu.h"
|
||||
|
||||
+2
-4
@@ -1,5 +1,6 @@
|
||||
#include "run.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdatomic.h>
|
||||
#include <stdbool.h>
|
||||
#include <pthread.h>
|
||||
@@ -152,10 +153,7 @@ static void *pongo_thread(void *arg)
|
||||
bool exploit(void) {
|
||||
pthread_t t1, t2;
|
||||
|
||||
shared_t state = {
|
||||
.stop = ATOMIC_VAR_INIT(false),
|
||||
.result = ATOMIC_VAR_INIT(0)
|
||||
};
|
||||
shared_t state;
|
||||
|
||||
pthread_create(&t1, NULL, exploit_thread, &state);
|
||||
pthread_create(&t2, NULL, pongo_thread, &state);
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#include "pongo_helper.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <lz4.h>
|
||||
|
||||
@@ -2,7 +2,10 @@
|
||||
|
||||
#include "usb_libusb.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <libusb-1.0/libusb.h>
|
||||
|
||||
#include "../utils.h"
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#include "usb_shim.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef __APPLE__
|
||||
# include "usb_iokit.h"
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user