mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-21 09:47:01 +02:00
include fixes
This commit is contained in:
1 parent
bd7da74546
commit
829890010e
13 files changed
+22
-19
No files matched your search
@@ -2,7 +2,9 @@ SRC = $(shell pwd)
|
||||
DEP = $(SRC)/dep_root
|
||||
STRIP = strip
|
||||
CC ?= cc
|
||||
CFLAGS += -I$(DEP)/include -I$(DEP)/include/ncursestw -I$(SRC)/include -I$(SRC) -Wall -Wextra -DPALERAIN_VERSION=\"2.0.0\" -Wall -Wextra -Wno-unused-parameter -Wno-unused-variable
|
||||
CFLAGS += -I$(DEP)/include -I$(DEP)/include/ncursestw -I$(SRC)/include -I$(SRC)
|
||||
CFLAGS += -Wall -Wextra -DPALERAIN_VERSION=\"2.0.0\" -Wall -Wextra -Wno-unused-parameter
|
||||
CFLAGS += -Wno-unused-variable -I$(SRC)/src
|
||||
LIBS += $(DEP)/lib/libimobiledevice-1.0.a $(DEP)/lib/libirecovery-1.0.a $(DEP)/lib/libusbmuxd-2.0.a $(DEP)/lib/libimobiledevice-glue-1.0.a $(DEP)/lib/libplist-2.0.a -pthread
|
||||
ifeq ($(TARGET_OS),)
|
||||
TARGET_OS = $(shell uname -s)
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef COMMON_H
|
||||
#define COMMON_H
|
||||
|
||||
#include "lockdown_helper.h"
|
||||
#include "xxd-embedded.h"
|
||||
#include "kerninfo.h"
|
||||
#include <stdbool.h>
|
||||
|
||||
File renamed without changes.
+1
-1
@@ -34,7 +34,7 @@
|
||||
#include <libtvcontrol.h>
|
||||
#endif
|
||||
|
||||
#include "common.h"
|
||||
#include <common.h>
|
||||
|
||||
irecv_device_event_context_t irecvctx = NULL;
|
||||
|
||||
|
||||
+2
-2
@@ -24,8 +24,8 @@
|
||||
#include <libirecovery.h>
|
||||
#include <usbmuxd.h>
|
||||
|
||||
#include "ANSI-color-codes.h"
|
||||
#include "common.h"
|
||||
#include <ANSI-color-codes.h>
|
||||
#include <common.h>
|
||||
|
||||
#define FORMAT_KEY_VALUE 1
|
||||
#define FORMAT_XML 2
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
|
||||
extern char **environ;
|
||||
|
||||
#include "common.h"
|
||||
#include "xxd-embedded.h"
|
||||
#include <common.h>
|
||||
#include <xxd-embedded.h>
|
||||
char* pongo_path = NULL;
|
||||
|
||||
void exec_checkra1n() {
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
#include <pthread.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "ANSI-color-codes.h"
|
||||
#include "common.h"
|
||||
#include <ANSI-color-codes.h>
|
||||
#include <common.h>
|
||||
|
||||
int p1_log(log_level_t loglevel, const char *fname, int lineno, const char *fxname, char *__restrict format, ...)
|
||||
{
|
||||
|
||||
+4
-4
@@ -24,10 +24,10 @@
|
||||
|
||||
#include <libimobiledevice/libimobiledevice.h>
|
||||
|
||||
#include "ANSI-color-codes.h"
|
||||
#include "common.h"
|
||||
#include "xxd-embedded.h"
|
||||
#include "kerninfo.h"
|
||||
#include <ANSI-color-codes.h>
|
||||
#include <common.h>
|
||||
#include <xxd-embedded.h>
|
||||
#include <kerninfo.h>
|
||||
|
||||
#define CMD_LEN_MAX 512
|
||||
#define OVERRIDE_MAGIC 0xd803b376
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
#include <assert.h>
|
||||
#include <getopt.h>
|
||||
#include <errno.h>
|
||||
#include "common.h"
|
||||
#include <common.h>
|
||||
|
||||
|
||||
static struct option longopts[] = {
|
||||
|
||||
+2
-1
@@ -11,7 +11,8 @@
|
||||
#include <getopt.h>
|
||||
#include <sys/mman.h>
|
||||
#include <errno.h>
|
||||
#include "common.h"
|
||||
|
||||
#include <common.h>
|
||||
|
||||
int override_file(override_file_t *finfo, niarelap_file_t** orig, unsigned int *orig_len, char *filename) {
|
||||
int ret = 0;
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
#include <sys/mman.h> // mmap, munmap
|
||||
#include <sys/stat.h> // fstst
|
||||
|
||||
#include "common.h"
|
||||
#include <common.h>
|
||||
|
||||
int found_pongo = 0;
|
||||
|
||||
|
||||
+2
-1
@@ -37,7 +37,8 @@
|
||||
#include <unistd.h> // close
|
||||
#include <sys/mman.h> // mmap, munmap
|
||||
#include <sys/stat.h> // fstst
|
||||
#include "common.h"
|
||||
|
||||
#include <common.h>
|
||||
#define ERR(...) LOG(LOG_VERBOSE, __VA_ARGS__)
|
||||
|
||||
// Keep in sync with Pongo
|
||||
|
||||
+2
-2
@@ -11,8 +11,8 @@
|
||||
#include <locale.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "common.h"
|
||||
#include "tui.h"
|
||||
#include <common.h>
|
||||
#include <tui.h>
|
||||
|
||||
#define MSG_COLOR 1
|
||||
#define ICON_COLOR 2
|
||||
|
||||
Reference in new issue
Block a user