diff options
author | UeiWang <weiwang.ueiwaon@gmail.com> | 2023-04-16 23:11:20 +0800 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2023-04-22 23:09:51 +0200 |
commit | ed7eac5dfe8239f7942102f9d1a4f9ef5210f4d7 (patch) | |
tree | 8573e551f8fc841c6b39fc421b4ae634b87ef510 /configure.ac | |
parent | 7a7c6938aad999f33ceb1e4ec5ebaada4c461f29 (diff) |
Darwin: add DiskIOMeter support
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a8b75dcd..36f25b22 100644 --- a/configure.ac +++ b/configure.ac @@ -280,6 +280,8 @@ AC_CHECK_FUNCS([ \ if test "$my_htop_platform" = darwin; then AC_CHECK_FUNCS([mach_timebase_info]) + AC_CHECK_DECLS([IOMainPort], [], [], [[#include <IOKit/IOKitLib.h>]]) + AC_CHECK_DECLS([IOMasterPort], [], [], [[#include <IOKit/IOKitLib.h>]]) fi if test "$my_htop_platform" = pcp; then |