add generate_input_files.c
Correct simlib header include