Add includes to sam-test3.c