<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">diff --git a/dspci/DataTypeHandler.m b/dspci/DataTypeHandler.m
index c9815b7..67c4ce8 100644
--- a/dspci/DataTypeHandler.m
+++ b/dspci/DataTypeHandler.m
@@ -15,6 +15,8 @@
 
 #import "Tables.h"
 
+#import &lt;mach-o/ldsyms.h&gt;
+
 #define kPCIFormat @"%04lX:%04lX"
 
 @implementation DataTypeHandler
@@ -95,7 +97,8 @@ - (int) handleDataType: (NSString *)dataType {
  */
 - (NSString *) loadPCIIDs {
     unsigned long len;
-    char *handle = strdup(getsectdata("__TEXT", "__pci_ids", &amp;len));
+    const struct mach_header_64 *mh = &amp;_mh_execute_header;
+    char *handle = strdup((char *) getsectiondata(mh, "__TEXT", "__pci_ids", &amp;len));
     NSNumber *currentClass;
     NSNumber *currentVendor;
     char buffer[LINE_MAX];
</pre></body></html>