diff options
Diffstat (limited to 'devel/mold/files/patch-common_filepath.cc')
-rw-r--r-- | devel/mold/files/patch-common_filepath.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/mold/files/patch-common_filepath.cc b/devel/mold/files/patch-common_filepath.cc new file mode 100644 index 000000000000..12d71a2034c8 --- /dev/null +++ b/devel/mold/files/patch-common_filepath.cc @@ -0,0 +1,13 @@ +--- common/filepath.cc.orig 2024-05-03 15:37:12 UTC ++++ common/filepath.cc +@@ -3,6 +3,10 @@ + #include <filesystem> + #include <sys/stat.h> + ++#ifdef __FreeBSD__ ++# include <sys/sysctl.h> ++#endif ++ + #ifdef __APPLE__ + # include <mach-o/dyld.h> + #endif |