add missing includes to compile properly with a stricter gcc
fix one invocation of load_results (does not take any parameter)