Skip to content

Commit cb1e176

Browse files
author
Vincent Landgraf
committed
#10 add headers for statvfs
1 parent 12a40e2 commit cb1e176

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/vmstat/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
if have_func 'statfs'
3434
have_struct_member('struct statfs', 'f_type', ['sys/param.h', 'sys/mount.h', 'sys/statfs.h'])
3535
have_struct_member('struct statfs', 'f_fstypename', ['sys/param.h', 'sys/mount.h'])
36-
elsif have_func 'statvfs'
36+
elsif have_func 'statvfs', ['sys/types.h', 'sys/statvfs.h']
3737
have_struct_member('struct statvfs', 'f_basetype', ['sys/types.h', 'sys/statvfs.h'])
3838
end
3939

0 commit comments

Comments
 (0)