summaryrefslogtreecommitdiff
path: root/uialert.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-04-08 20:58:24 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2008-04-08 20:58:24 +0000
commitd4e26d1da16a40ac34bdb622750de0b6bf853e75 (patch)
treeb7c52f57cfc3d7f108783da4b356deb26d16023f /uialert.mm
parenta60b86de5fbe121d51d756c166eac49e1832e007 (diff)
Ported UIKit Tools to iPhoneOS 2.0.
Diffstat (limited to 'uialert.mm')
-rw-r--r--uialert.mm7
1 files changed, 5 insertions, 2 deletions
diff --git a/uialert.mm b/uialert.mm
index a72cbd4..403dbd2 100644
--- a/uialert.mm
+++ b/uialert.mm
@@ -1,5 +1,8 @@
-#include <UIKit/UIKit.h>
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
+
#include <unistd.h>
+#include <cstdlib>
int argc_;
char **argv_;
@@ -44,7 +47,7 @@ int main(int argc, char *argv[]) {
argv_ = argv;
char *args[] = {
- "AlertSheet", NULL
+ (char *) "AlertSheet", NULL
};
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];