summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-28 21:13:49 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:31 -0800
commit435cb85753e48dd77a02258dd6715e8cb153d429 (patch)
tree67e0b25fb5593569b143bb39808ce53de02f1837
parentaa35fd7b4dd1970d469f6ca6a9907f4618856a2f (diff)
Use CydiaSubstrate/CydiaSubstrate.h, not substrate.h.
-rw-r--r--CyteKit/CyteWebView.mm3
-rw-r--r--CyteKit/CyteWebViewController.h2
-rw-r--r--CyteKit/CyteWebViewController.mm2
-rw-r--r--MobileCydia.mm2
-rw-r--r--makefile2
5 files changed, 5 insertions, 6 deletions
diff --git a/CyteKit/CyteWebView.mm b/CyteKit/CyteWebView.mm
index eb101c8..3d2d36f 100644
--- a/CyteKit/CyteWebView.mm
+++ b/CyteKit/CyteWebView.mm
@@ -1,7 +1,8 @@
#include "CyteKit/CyteWebView.h"
+#include <CydiaSubstrate/CydiaSubstrate.h>
+
#include "iPhonePrivate.h"
-#include "substrate.h"
// CYWebPolicyDecision* {{{
enum CYWebPolicyDecision {
diff --git a/CyteKit/CyteWebViewController.h b/CyteKit/CyteWebViewController.h
index 1b7d9ec..df86958 100644
--- a/CyteKit/CyteWebViewController.h
+++ b/CyteKit/CyteWebViewController.h
@@ -45,7 +45,7 @@
#include <UIKit/UIKit.h>
-#include "substrate.h"
+#include <CydiaSubstrate/CydiaSubstrate.h>
@class IndirectDelegate;
diff --git a/CyteKit/CyteWebViewController.mm b/CyteKit/CyteWebViewController.mm
index 78c94a7..65a7351 100644
--- a/CyteKit/CyteWebViewController.mm
+++ b/CyteKit/CyteWebViewController.mm
@@ -21,8 +21,6 @@ extern NSString * const kCAFilterNearest;
#include <WebKit/DOMHTMLBodyElement.h>
#include <WebKit/DOMRGBColor.h>
-#include "substrate.h"
-
#define ForSaurik 0
#define DefaultTimeout_ 120.0
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 0e396e9..9dbe50e 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -126,7 +126,7 @@ extern "C" {
#include "SDURLCache/SDURLCache.h"
-#include "substrate.h"
+#include <CydiaSubstrate/CydiaSubstrate.h>
/* }}} */
/* Profiler {{{ */
diff --git a/makefile b/makefile
index ee64dc9..3a5f235 100644
--- a/makefile
+++ b/makefile
@@ -55,7 +55,7 @@ version := $(shell ./version.sh)
#cycc = cycc -r4.2 -i$(ios) -o$@
gxx := /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-$(gcc)
-cycc = $(gxx) -mthumb -arch armv6 -o $@ -mcpu=arm1176jzf-s -miphoneos-version-min=2.0 -isysroot $(sdk) -idirafter /usr/include -F/Library/Frameworks
+cycc = $(gxx) -mthumb -arch armv6 -o $@ -mcpu=arm1176jzf-s -miphoneos-version-min=2.0 -isysroot $(sdk) -idirafter /usr/include -F{sysroot,}/Library/Frameworks
all: MobileCydia