aboutsummaryrefslogtreecommitdiff
path: root/lib/substitute-internal.h
diff options
context:
space:
mode:
authorcomex2015-07-16 00:17:14 -0400
committercomex2015-07-16 00:17:14 -0400
commit1171dd05f701c460232e6453a997ad2cacc65ae1 (patch)
tree9e504d4ab6fb021636e5e86234491f66d44455e9 /lib/substitute-internal.h
parentadd verbose thingy (diff)
downloadsubstitute-1171dd05f701c460232e6453a997ad2cacc65ae1.tar.gz
Import some code to handle <redacted> syms.
Diffstat (limited to '')
-rw-r--r--lib/substitute-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/substitute-internal.h b/lib/substitute-internal.h
index 675f6eb..c9b78f0 100644
--- a/lib/substitute-internal.h
+++ b/lib/substitute-internal.h
@@ -16,6 +16,7 @@
#include <mach-o/loader.h>
#include <mach-o/dyld.h>
#include <mach-o/dyld_images.h>
+#include <mach-o/nlist.h>
#ifdef __LP64__
typedef struct mach_header_64 mach_header_x;
typedef struct segment_command_64 segment_command_x;
@@ -27,6 +28,7 @@ typedef struct segment_command segment_command_x;
typedef struct section section_x;
#define LC_SEGMENT_X LC_SEGMENT
#endif
+/* instead of 'nlist_x', use substitute_sym */
#endif
/* FORCE_* are for tests */