Modified: trunk/base/src/machista1.0/libmachista.c (89357 => 89358)
--- trunk/base/src/machista1.0/libmachista.c 2012-01-26 15:52:45 UTC (rev 89357)
+++ trunk/base/src/machista1.0/libmachista.c 2012-01-26 18:37:43 UTC (rev 89358)
@@ -50,6 +50,23 @@
#include "libmachista.h"
#include "hashmap.h"
+/* Tiger compatibility */
+#ifndef LC_RPATH
+#define LC_RPATH (0x1c | LC_REQ_DYLD) /* runpath additions */
+/*
+ * The rpath_command contains a path which at runtime should be added to
+ * the current run path used to find @rpath prefixed dylibs.
+ */
+struct rpath_command {
+ uint32_t cmd; /* LC_RPATH */
+ uint32_t cmdsize; /* includes string */
+ union lc_str path; /* path to add to run path */
+};
+#endif
+#ifndef LC_REEXPORT_DYLIB
+#define LC_REEXPORT_DYLIB (0x1f | LC_REQ_DYLD) /* load and re-export dylib */
+#endif
+
typedef struct macho_input {
const void *data;
size_t length;