aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/os/mac
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/extend/os/mac')
-rw-r--r--Library/Homebrew/extend/os/mac/extend/pathname.rb5
-rw-r--r--Library/Homebrew/extend/os/mac/hardware/cpu.rb2
2 files changed, 5 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/os/mac/extend/pathname.rb b/Library/Homebrew/extend/os/mac/extend/pathname.rb
new file mode 100644
index 000000000..5fd59e1e7
--- /dev/null
+++ b/Library/Homebrew/extend/os/mac/extend/pathname.rb
@@ -0,0 +1,5 @@
+require "os/mac/mach"
+
+class Pathname
+ include MachOShim
+end
diff --git a/Library/Homebrew/extend/os/mac/hardware/cpu.rb b/Library/Homebrew/extend/os/mac/hardware/cpu.rb
index b97c280cd..a216db6ae 100644
--- a/Library/Homebrew/extend/os/mac/hardware/cpu.rb
+++ b/Library/Homebrew/extend/os/mac/hardware/cpu.rb
@@ -1,5 +1,3 @@
-require "os/mac/pathname"
-
module Hardware
class CPU
class << self