Tidy up of lots of little things. :)
Add the standard header. Particularly the bit about including config.h was needed to allow the ifdef around the last function to work.
Make the functions that use atoll have a #ifdef HAVE_ATOLL around them. I did this because freebsd doesn't have this function, and it doesn't need to run any of the functions in tools.h that uses them.
Made network stats work with linux.
Working linux diskio stats. Fixed bug in tools.c
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.