#define __USE_EXTERN_INLINES
+#include <dirent.h>
#include <dlfcn.h>
#include <fcntl.h>
+#include <math.h>
+#include <stdint.h>
+#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
#include <sys/mman.h>
+#include <sys/mount.h>
#include <sys/stat.h>
#include <sqlite3.h>
#include <CoreLocation/CoreLocation.h>
#include <Security/Security.h>
+#include <mach/mach.h>
+#include <mach/mach_vm.h>
+#include <mach/vm_map.h>
+
+#include <mach-o/dyld.h>
+#include <mach-o/dyld_images.h>
+
#if TARGET_OS_IPHONE
#include <UIKit/UIKit.h>
+extern "C" UIApplication *UIApp;
#else
#include <AppKit/AppKit.h>
#endif